Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi i have a few GBs of files which i am supposed to burn to a DVD for permanent storage, which compression format will give me "LEAST" size, thanks

share|improve this question
As compression efficiency depends much on the file content we need this information for advice. – Takkat Oct 7 '12 at 18:41
This depends on the type of files. Are they text files/.odt documents/something else? Gzip (put it in a .tar archive then gzip it) works very well IMO. – hexafraction Oct 7 '12 at 18:41
Pdf and djvu ebooks – kernel_panic Oct 7 '12 at 19:02
Try 7z formate with ultra compression mode. – Pandya Aug 18 '14 at 9:42

I just did a test with the supported formats on File Roller (the default archive manager, ak. Archive Manager) and this result is based on the selected .pdf and as you can see it's sorted by Size:

As you can see the Compression Format that won it was: .xz

enter image description here

share|improve this answer

There is no single most efficient format. They use different algorithms and the efficiency depends on the data you want to compress. Some data "suits" some algorithms better than other. There is no easier way to find out which results in the smallest file than trying.

In my experience 7z and rar give good results. Zip tends to be a little bigger. No experience with other formats though. Hope this helps a little.


A little addition: There are file formats that are already compressed, like most audio, video or picture files. If you compress those you don't save very much space. In some case (mostly small jpg or mp3 files, but can also happen big video files) the compressed archive can even be bigger than the file.

share|improve this answer
Gzip is good, when you use the most intensive settings possible. – hexafraction Oct 7 '12 at 18:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.