What is the difference between tar and zip?

What is the difference between tar and zip? What are the use cases for each?

+45
unix compression tar zip
May 10 '12 at 19:32
source share
1 answer

tar itself simply links files together, while zip also applies compression.

Usually you use gzip along with tar to compress the resulting tarball, thereby achieving similar results as with zip.

+49
May 10 '12 at 19:33
source share



All Articles