>>>>> "DaZZa" == DaZZa  <[email protected]> writes:

DaZZa> 2011/7/28 Marghanita da Cruz <[email protected]>:
>> I looked at tar but couldn't figure out the option not to compress
>> there either. Does Tar compress or not compress by default?


DaZZa> So you could do something like this <from memory, not checked,
DaZZa> YMMV, if it don't work don't blame me, MAN is your friend etc
DaZZa> etc>

DaZZa> tar -czf archive.tgz <source1> <source2> 
DaZZa> tar -Af archive.tgz  <source3>

DaZZa> This'd add the first two files compressed, and the third
DaZZa> uncompressed.  The zip -0 method is easier. :-)

I'm pretty sure that won't work, because a gxipped tarball is not
recognisably a tarball from tar's perspective.

             tar czf z.tgx ...
is exactly the same as 
             tar cf - ... | gzip > z.tgz

Peter C

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to