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

tar

Status
Not open for further replies.

dcomit

Technical User
Jun 20, 2001
115
GB
I have a tape which I think is a tar backup. What's the best way of reading the tape to check the data? Also how do I rewind the tape - it's on /dev/st0.

Thanks,
Dave
 
Hi Dave. You might try mt -f /dev/st0 to rewind the tape, then tar tvf /dev/st0 to read what's on it without restoring. Replacing the t with an x will restore the data, but be careful of absolute pathnames.

I want to be good, is that not enough?
 
Sorry, that should read mt -f /dev/st0 rewind

First day back after hols!

I want to be good, is that not enough?
 
No problem, glad you got it sorted.

I want to be good, is that not enough?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top