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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with tar

Status
Not open for further replies.

mranderson22

Programmer
Apr 23, 2003
12
GB
Hi everyone,

I am restoring a tar file from tape which is massive it gets to a certain file then runs out of space as below

tar xvf /dev/rmt/0

It get to this file below

./data/fhfiles/fhactmas.dat

Is it possible to then run the extract again from this file to the end???

A quick response would be great thanks for the help.
 
You'll want to use the exclude file option for tar. First create a file (/tmp/excludefile, for example) with the names of the files you don't want to extract. Then call tar as follows:

tar xvfX /dev/rmt/0 /tmp/excludefile

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top