tar from a disk (not tape)

Ray E. Saddler III ray3rd at ssc-vax.UUCP
Tue May 9 01:29:06 AEST 1989


In article <1517 at cmx.npac.syr.edu>, gefuchs at goedel.uucp (Gill E. Fuchs) writes:
> i have in my directory a file named  gugu.tar  which i assume is a tarfile.
> 
> in my feeble attemp to do so i tried:
>         tar x gugu.tar
> 
> so, what to do?

Uhm...you need to place 'f' along with the 'x' flag to tell tar to
eXtract from a File, followed by the file name (which you placed
correctly):

     'tar xf gugu.tar' should do the trick.
     
You may first want to 'tar -tf gugu.tar' to lisT the file first to
check for absolute pathnames or regular filenames that may hammer 
something you want to keep, resulting in explicit name extraction:

     'tar -xf gugu.tar' file1 file2 file3 ...
-- 
Ray E. Saddler III       |    __  __ __       __ |          UseNet
Boeing Aerospace         |   / / / //   //| //   | uw-beaver!ssc-vax!ray3rd
P.O. Box 3999 m.s. 3R-05 |  /-< / //-  // |// _  |         PhoneNet
Seattle, Wa.  98124  USA | /__//_//__ //  //__/  |      1+206-657-2824



More information about the Comp.unix.questions mailing list