maint: update bootstrap and m4/.gitignore to latest Gnulib
[gzip.git] / znew.1
blob72419c9f50a53600e3e9c91ef25e7393cb2e368a
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 .BR gzip (1),
36 .BR zmore (1),
37 .BR zdiff (1),
38 .BR zgrep (1),
39 .BR zforce (1),
40 .BR gzexe (1),
41 .BR compress(1)
42 .SH BUGS
43 If the
44 .B \-P
45 option is used,
46 .B znew
47 does not maintain the timestamp if
48 .BR touch (1)
49 does not support the
50 .B \-r
51 option, and does not maintain permissions if
52 .BR chmod (1)
53 does not support the
54 .B \-\-reference
55 option.