Add kgz, a gzip tool.

This commit is contained in:
2018-09-15 15:08:37 -07:00
parent 160a42ec26
commit 231b98dd68
3 changed files with 207 additions and 0 deletions

23
cmd/kgz/README Normal file
View File

@@ -0,0 +1,23 @@
kgz
kgz is like gzip, but supports compressing and decompressing to a different
directory than the source file is in.
Usage: kgz [-l] source [target]
If target is a directory, the basename of the sourcefile will be used
as the target filename. Compression and decompression is selected
based on whether the source filename ends in ".gz".
Flags:
-l level Compression level (0-9). Only meaninful when
compressing a file.