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!

Single file extract from tar file

Status
Not open for further replies.

jaymax2U

Technical User
Oct 1, 2008
47
US
How can I do a single file extract from tar file

tar xvf example.tar # extracts the whole tar file, which may be very large.
 
Answering myself
tar xvf tarfile.tar --include='desiredfile'
did it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top