If you want to get a index rather quickly you can do something like...
(from the amanda restore doc)

#!/bin/sh
TAPEDEV=/your/tape/dev

while mt -f $TAPEDEV fsf 1 ; do
  dd if=$TAPEDEV bs=32k count=1 | head -1
  sleep 1
done

<<Ben

On 05 Jun 2001 12:06:37 -0400, Joseph Del Corso wrote:
> Hello, 
>       Can someone clarify for me how to list tape content?
> 
> Specifically I know I can issue the following command:
> 
> amrestore $TAPE whatever
> 
> And according to archived emails, this should list tape content...
> but according to the man page, this also extracts the contents of the 
> tape.  I don't want to extract anything (yet), I simply want to list
> the directory/file contents of what's on the tape to see if everything 
> was backed up correctly.  
> 
> Is the line (above) the exact syntax for doing this? or am I forgetting 
> some flag that doesn't automatically restore files?
> 
> Joe
> 

Reply via email to