[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compressor



Jon Dowland wrote:
> Ralf Mardorf wrote:
> > Jerome BENOIT wrote:
> > > xz: tar Jcf
> > 
> > I'm using a distro that packages with xz.
> > 
> > I'm sure that there never was a big difference between
> > "gz: tar zcf" and "bzip2: tar jcf" for the length of the files, but the
> > time for packing and unpacking does differ very much. 
> 
> Indeed, bz2 is very slow. But it can be much better at compressing:
> 
> linux-3.6-rc2.tar.bz2      16-Aug-2012 22:01   78M  
> linux-3.6-rc2.tar.gz       16-Aug-2012 22:01   99M  
> linux-3.6-rc2.tar.xz       16-Aug-2012 22:01   65M

I think lzip is worthy enough that it should have a mention too.  It
has gotten less attention than xz and that is sad since it is a nice
free software tool.  I recompressed that file using lzip for this
comparison.

  $ ls -lhog linux-3.6-rc2.tar.gz 
  -rw-rw-r-- 1 100M Aug 22 15:31 linux-3.6-rc2.tar.gz

  $ ls -lhog linux-3.6-rc2.tar.lz 
  -rw-rw-r-- 1 66M Aug 22 15:54 linux-3.6-rc2.tar.lz

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: