3 ms·
did a quick check, zip on linux does not support lz4, zstd but 7z does, so I'm going to use 7z more, unfortunately 7z is still not universally installed on *nix
by synergy20 4y ago
did a quick check, zip on linux does not support lz4, zstd but 7z does, so I'm going to use 7z more, unfortunately 7z is still not universally installed on *nixes.
- loeg 4y agoWhy not just use zstd directly?
- dikei 4y agoYou are conflating compression algorithms with archive file formats. Use `tar` format and you can combine it with whatever compression utilities available such as `gzip`, `bzip2`, `lz4`, `zstd`, `xz`, etc. `tar` also preserves Unix permission. The downside is tar doesn't have an index for random-access, so you cannot do partial extraction quickly. Use `zip` format if you don't care about Unix permission, and want to do partial extraction. `Zip` technically support multiple compression algorithms, but is primarily only used with DEFLATE (the same one as `gzip`) for compatibility reason.