RE: unpacking one single file from archive

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

 



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@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux