Usage
Used to compress files. To compress directories, use tar
.
Option | Description |
---|
-d | Decompress. |
-k | Keep input files during compression or decompression. |
Examples
For compressing:
shellgzip file # > file.gz
For decompressing:
shellgzip -d file.gz # > file
gunzip file.gz # > file