3 ms·
I agree, that it is antiquated. > suitable modern compressor I would expect a suitable modern compressor to handle files by itself and fail to handle file rel
by FrostKiwi 2y ago
I agree, that it is antiquated.
> suitable modern compressor
I would expect a suitable modern compressor to handle files by itself and fail to handle file related things if given a tar archive.
- MobiusHorizons 2y agoBlock based compressors like gzip, bzip2, xz, lzma, etc don’t natively know how to compress multiple files, to them it’s just bytes in bytes out. Using these with tar allows both archive (multiple files / directories in one file) as well as compression. Such usage has the potential for higher compression ratios because it can deduplicate across the entire archive. Zip compresses each file individually, but has an uncompressed index. Tools like 7z use standard compression algorithms (I believe Lzma) with a different archive format. It’s all about how you want to integrate or customize your tools.