The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: Help with TAR
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 12-07-2005
FredSmith FredSmith is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 88
RE: Help with TAR

I have a bunch of tar'red files on a tape.

I'm trying to restore them to disk.

I've read the MAN pages and some googled sites, but I'm still confused:

I run the tar -xvf /dev/rmt/2un <file_name>
command and it restores the files.

But, how do I know which tar file is next on the tape? If I do a tar -tvf, it is past the point on the tape of the file right? Is there any way to do a tar -tvf and then rewind JUST 1 TAR file back so that I can then restore it?

Thanks!