[svlug] Re: your mail

J C Lawrence claw at kanga.nu
Sun Jan 3 18:08:02 PST 1999


On Sun, 3 Jan 1999 16:48:12 -0800 (PST) 
Harry Mason<hcmason at best.com> wrote:

> zcat ossfilename.tar.gz | tar -xvf -

FWLIW the same can be accomplished with:

  gzip -dc

with the above command line expanding to:

  gzip -dc < file.tar.gz | tar xv

Now GNU tar (such as is shipped with all Linux distributions) is able
to handle gzipped tarballs directly, so the above would turn into:

  tar zxvf file.tar.gz

You can also compress tarballs directly ala:

  tar zcvf file.tar.gz file1 file2 file3 etc

-- 
J C Lawrence                              Internet: claw at kanga.nu
----------(*)                            Internet: coder at kanga.nu
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...

--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe
see http://www.svlug.org/mdstuff/lists.shtml for posting guidelines.



More information about the svlug mailing list