News for hackers. Stuff that matters.
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.
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!
Re:Ask HN: Have you created programs for only your personal ... by yesenadam on Friday April 15, 2022 @05:57PM (#31046394)
tar czvf "create ze vucking file"

tar xzvf "extract ze vucking files"

source: https://news.ycombinator.com/item?id=18909789