Re:Ask HN: Have you created programs for only your personal ...
by zvr on Thursday April 14, 2022 @08:58AM
(#31026362)
If you're using GNU tar, there are four short options to specify compression/decompression: -Z for compress, -z for gzip, -j for bzip2 and -J for xz.
Using long options, you can specify --compress, --gzip, --bzip2, --xz for the same, or even --lzip, --lzma, --lzop or --zstd for others.
[ Parent
| on HN ]
Re:Ask HN: Have you created programs for only your personal ...
by IYasha on Friday April 15, 2022 @03:59AM
(#31037631)
That's exactly why people hate tar/UNIX generally. Tons of parameters that don't EVEN CLOSELY represent their purpose. For example: -j -J if noone told me, I'd assume they were "join" or "jump", or something.
PS: zcvf zxfv, and, - surprise, surprise! - by default tar deletes source archive!