OSDN Git Service

6451ff35ec751839bb88d95efd2cb70fd468f5dd
[linuxjm/jm.git] / manual / GNU_gzip / original / man1 / znew.1
1 .TH ZNEW 1
2 .SH NAME
3 znew \-   recompress .Z files to .gz files
4 .SH SYNOPSIS
5 .B znew
6 [ -ftv9PK] [ name.Z ...  ]
7 .SH DESCRIPTION
8 The
9 .B Znew
10 command
11 recompresses files from .Z (compress) format to .gz (gzip) format.
12 If you want to recompress a file already in gzip format, rename the file
13 to force a .Z extension then apply znew.
14 .SH OPTIONS
15 .TP
16 .B \-f
17 Force recompression from .Z to .gz format even if a .gz file already exists.
18 .TP
19 .B \-t
20 Tests the new files before deleting originals.
21 .TP
22 .B \-v
23 Verbose. Display the name and percentage reduction for each file compressed.
24 .TP
25 .B \-9
26 Use the slowest compression method (optimal compression).
27 .TP
28 .B \-P
29 Use pipes for the conversion to reduce disk space usage.
30 .TP
31 .B \-K
32 Keep a .Z file when it is smaller than the .gz file; implies
33 .BR -t .
34 .SH "SEE ALSO"
35 gzip(1), zmore(1), zdiff(1), zgrep(1), zforce(1), gzexe(1), compress(1)
36 .SH BUGS
37 If the
38 .B \-P
39 option is used,
40 .B znew
41 does not maintain the timestamp if
42 .BR touch (1)
43 does not support the
44 .B \-r
45 option, and does not maintain permissions if
46 .BR chmod (1)
47 does not support the
48 .B \-\-reference
49 option.