Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extract some files in Redhat 2

Status
Not open for further replies.

hokky

Technical User
Nov 9, 2006
170
AU
Hi guys,

Just wondering how to extract some files in tar file ?
I got the part of the list of files like this :

**many above**
testscript/current_rates_standard.txt
testscript/mailinglist
testscript/.RatesFileSize.ksh.swp
testscript/RatesFileSize.ksh
testscript/historical_rates_standard.txt
testscript/test
testscript/coba
transferDataProdDr.ksh
ViewLSno.ksh
**many below**

I just wanna extract the ViewLSno.ksh and testscript/current_rates_standard.txt, any idea how to do it ?

Thanks guys,
 
Just specify them on the end of the tar command line, exactly as they appear in the listing output, e.g.

[tt]tar xzvf filename.tar.gz ViewLSno.ksh testscript/current_rates_standard.txt[/tt]

Annihilannic.
 
And what about this ?
man tar

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top