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

Re: Stupid question #476 - how to untar



----- Original Message -----
From: Barrie Bremner <TheEnglishman [at] ecosse.net>
To: <sheflug [at] vuw.ac.nz>
Sent: Friday, March 17, 2000 4:02 AM
Subject: Stupid question #476 - how to untar


>  tried `tar -x file.tar` but it just seems to hang...

the most common options are:

 -x to extract an archive
 -z to decompress the archive (if it ends in tar.gz or .tgz rather than just
.tar)
 -f to specify the input file (last option)

ie

tar -xzf myfile.tar.gz

will decompress myfile.tar.gz

The reason it appeared to hang was because without the -f option it assumed
it was taking it's input from a pipe/the console not from a file so it jus
sat there waiting for data.

--
If you can't do it well - learn to enjoy doing it badly

Andrew Basterfield
MEng Electronic & Communication Engineering Undergraduate
The University of Sheffield, England
Tel. 0114 222 9999 ex. 53198



---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.