On 12/13/2011 08:36 PM, Sean Conner wrote:
GNU tar
understands the gzip format and it can do the compression/uncompression in
addition to the archiving it does. And in this case, tar *will* keep the
original around when you decompress/extract the files:
tar xzvf sometarball.tar.gz
To be pedantic here...tar itself doesn't understand gzip-compressed
files at all, but in fact it spawns a gzip process from the standard
gzip executable and pipes the data through it. (It'll do the same with
bzip2 if you use a 'j' instead of a 'z')
Now, a major annoyance I find are tarballs that
vomit files in the current
directory instead of a subdirectory based off the name of the tar file
(usually foobar.tar will, when extracted, create a directory called foobar
that contains the files; but that's a *convention* not mandatory).
Ugh, yes, that's infuriating. It's the supreme mark of "clueless" on
the part of the tar file creator.
-spc (Now Windows, on the other hand, I find
incomprehensible ... )
Same here!
-Dave
--
Dave McGuire
New Kensington, PA