this post was submitted on 20 Jun 2023
397 points (99.3% liked)
Memes
46076 readers
1313 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What exactly is better about tar.gz over zip?
I tend to prefer zip because of cross compatibility with Windows with no extra software needed, and because the Windows software to unpackage a tar.gz that I have used required unpacking it twice (once for the gz, then again for the tar). It seemed like a hassle.
On Linux I command line everything, so they are the same to me, so I have no preference there. But is there something actually better about it?
With .zip you can extract just one file from it, while with .tar.gz you have to uncompress the whole .tar before you can get the files - so that's worse.
But, since you're compressing all files at once you could get better compression since information can be shared between files.