gzip
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 ouput: let
zcat
behave as cat
. If `-f' is not given, and
when not running in the background, gzip
prompts 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 fileThe uncompressed size is given as `-1' for files not in
gzip
format, such as compressed `.Z' files. To get the uncompressed size for
such a file, you can use:
zcat file.Z | wc -cIn 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 fileThe 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
license then quit.
gzip
suffix 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.
gzip
will descend
into the directory and compress all the files it finds there (or
decompress them in the case of gunzip
).
gunzip -S "" * (*.* for MSDOS)Previous versions of gzip used the `.z' suffix. This was changed to avoid a conflict with
pack
.