gzip (target)
Compress or expand files (POSIX, toybox)
Syntax:
gzip [-cdfk] [-compress_level] [file...]
Runs on:
QNX OS
Options:
- -compress_level
- Regulate the compression level using a specified digit between 1 and 9 , where 1 is fastest and 9 is best (6 is default).
- -c
- Output to stdout.
- -d
- Decompress (act as gunzip).
- -f
- Force compression or decompression even if it results in the file being overwritten.
- -k
- Keep input files (default is to remove).
- file
- The pathname of a file that is being compressed.
Description:
The gzip utility reduces the size of the named files, using Lempel-Ziv coding (LZ77). With no files, gzip compresses the standard input to the standard output. On success, the input files are removed and replaced by new files with the .gz suffix.
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: