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

RE: unpacking one single file from archive



If the archive, "x.tar.gz", has a file that you want called "z.doc"
then if you only want to extract the one file do:

tar xvzf x.tar.gz z.doc

-Steve 

-----Original Message-----
From: redhat-list-bounces redhat com
[mailto:redhat-list-bounces redhat com] On Behalf Of Paal Marker
Sent: Wednesday, January 19, 2005 2:13 AM
To: General Red Hat Linux discussion list
Subject: unpacking one single file from archive

Workstation rh8, with  only 1 gb free space.  Contains a big x.tar.gz 
backup file. If unpacking it with '#tar xfvz' it will exceed the disk 
space. 

Is there a way I can unpack only one document of  x.tar.gz?  Like, I 
know the file is named z.doc and is compressed inside  the x.tar.gz 
archive, what are the commands to use? 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list






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