RE: tar question


Subject: RE: tar question
From: Steve McGrane (mcsteve@globaltap.com)
Date: Wed Feb 20 2002 - 19:14:13 MST


I always simply type:

tar -xzf archive.tar.gz

this will eXtract and unXip archive with Filename archive.tar.gz

Note the mnemonic caps.

Since you just have archive.tar and not archive.tar.gz, leave out the unZip:

tar -xf archive.tar.gz

Note: the "f" param must be last in the param list as it is -f <filename>

- Steve

-----Original Message-----
From: Chris Alden [mailto:mohotsaucemoproblems@yahoo.com]
Sent: Wednesday, February 20, 2002 8:50 PM
To: yellowdog-general@lists.yellowdoglinux.com
Subject: tar question

After using gunzip to extract a tar file from a tar.gz
archive, how does one use tar, in the command prompt,
to un-tar the file, thereby creating a fully extracted
program directory ready to be compiled and run? I
thought perhaps it was "tar -x archive.tar", but
apparently that does not work. thanks.

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com



This archive was generated by hypermail 2a24 : Wed Feb 20 2002 - 19:26:12 MST