The format for running the
gzip program is:
gzip option ...
gzip supports the following options:
gzip, and if the option `--stdout' is also given, copy the input data without change to the standard output: let
cat. If `-f' is not given, and when not running in the background,
gzipprompts to verify whether an existing file should be overwritten.
compressed size: size of the compressed file uncompressed size: size of the uncompressed file ratio: compression ratio (0.0% if unknown) uncompressed_name: name of the uncompressed file
The uncompressed size is given as `-1' for files not in
format, such as compressed `.Z' files. To get the uncompressed size for
such a file, you can use:
zcat file.Z | wc -c
In combination with the `--verbose' option, the following fields are also displayed:
method: compression method (deflate,compress,lzh,pack) crc: the 32-bit CRC of the uncompressed data date & time: time stamp for the uncompressed file
The crc is given as ffffffff for a file not in gzip format.
With `--verbose', the size totals and compression ratio for all files is also displayed, unless some sizes are unknown. With `--quiet', the title and totals lines are not displayed.
gzip format represents the input size modulo
2^32, so the uncompressed size and compression ratio are listed
incorrectly for uncompressed files 4 GB and larger. To work around
this problem, you can use the following command to discover a large
uncompressed file's true size:
zcat file.gz | wc -c
gziplicense then quit.
gzipsuffix from the compressed file name) and do not restore the original time stamp if present (copy it from the compressed file). This option is the default when decompressing.
gzipwill descend into the directory and compress all the files it finds there (or decompress them in the case of
gunzip -S "" * (*.* for MSDOS)
Previous versions of gzip used the `.z' suffix. This was changed to
avoid a conflict with