Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-01-2009, 10:24 AM   #1
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question archiving utility

among tar,gzip,bzip2 and zip which archiving utility gives better compression ratio ?
Old 02-01-2009, 12:40 PM   #2
Senior Member
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
What have you tried?

Are you looking at compressing individual files or a group of files?

Given a text file with a file size of 237 bytes:

gzip produces a file of 188 bytes
bzip2 produces a file of 207 bytes

Both zip and tar produce files that were larger than the original!

The results that you get may be different than mine, depending on the type and size of file that you want to compress.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
archiving e-mail adm1329 Linux - Software 3 10-11-2006 03:00 PM
Archiving naveenlinux SUSE / openSUSE 6 12-04-2005 05:51 PM
archiving the logs ANU Linux - Software 1 11-26-2003 08:42 PM
Archiving zymurgist Linux - General 8 02-10-2003 09:21 PM
Archiving theneoprotocol General 5 01-26-2002 04:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration