> > Maybe you can (z)grep your indexfiles for the filenames?
> 
> Hm, I suppose I could, but then how to feed that all into
> amrecover/amrestore?

You could (z)grep the index, feed it into a file and take split(1) to
make chunks of no more than 50 to 200 lines.
It depends on how much command line arguments you can use with restore
or in general. I don't know the exact limit, maybe it's 4 KB for the
environment.

zgrep <indexfile> "index\.html" > /tmp/files-to-restore
split -l 100 /tmp/files-to-restore
amrestore -p $TAPE host /partition | restore f - x 'cat xaa'
amrestore -p $TAPE host /partition | restore f - x 'cat xab'

Hey, reading restore's (Linux dump-0.4b21) manpage offers an option for
you:

amrestore -p $TAPE host /partition | restore X /tmp/files-to-restore f -

Reply via email to