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

Re: 7zr compress include subdirs?



On Sun, 30 Jan 2011, Anand Sivaram wrote:
> If you are using tar, then try "xz" instead of 7-zip. Both xz and 7-zip use
> lzma2 compression.  But xz command line utility is very similar to
> gzip/bzip2, so most of the gzip options could be used.  In fact tar has a
> filter also for xz which is 'J'.  It can be used just like gzip
> tar cfJ something.tar.xz something (that is the same as, tar cf - something
> | xz > something.tar.gz)
> tar xfJ something.tar.xz

And Debian supports it for packaging source, and automake supports it for
make dist-xz...

Xz is a better choice for software distribution than 7zip, in the general
case.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: