10 responses

  1. sokoban
    July 13, 2012

    a very nice summary!

    Reply

  2. Anonymous
    September 14, 2012

    Nice post. Thanks !

    Reply

  3. Sparky
    December 22, 2012

    I don’t think #3 is quite accurate. In the unix environment it is common practice to extract single files from a tar.gz file.
    Example:
    Say you have an archived and compressed file:
    Archived.tar.gz and it contains a bunch of files one of which is called File.txt.
    To extract it one simply uses the command:
    tar -zxvf Archived.tar.gz File.txt

    Or if you have a modern desktop environment such as kubuntu/ubuntu, you would simply:
    Right click over the file and select “Open” (which just views what’s inside and not actually extracts anything).
    Click on the file you want to extract and press the extract button.

    Reply

  4. Carlos G. V. Hager
    April 1, 2013

    Thank you, it’s help me!

    Reply

  5. dave
    May 2, 2013

    Very useful post. Thankyou

    Reply

  6. Scott
    November 18, 2013

    I have a problem with this statement: “If you archive and compress 10 identical files with ZIP and GZIP, the ZIP file would be over 10 times bigger than the resulting GZIP file.” This is misleading. What’s the likelyhood that you will be compressing 10 or some quantity of identical files? Average compression achieved is dependent upon the type of data being archived. There are other comparisons on the web that make it clear, that there is no clear winner between zip and gzip for most uses.

    Reply

  7. Martin
    November 5, 2014

    Thank you for an excellent and precise comparison between zip and gzip. We are currently adding zip and unzip (gzip and gunzip) functionality to some file downloads in our website http://thulya.com and had a question in mind whether zip or gzip/tar is efficient. Your post has given a detailed overview of what we were looking for.

    Reply

  8. mitch
    February 18, 2015

    thanks good info!

    Reply

  9. Bavarian
    February 28, 2015

    Very well explained.Thank you!

    Reply

  10. Shouvik
    May 2, 2018

    gzip replaces the original file while zip doesn’t replace the original file by default.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top
mobile desktop