Hi,
jordivi wrote:
Or also the "-t" flag to get a list in tape and find to get a list in
disk.
you don't even need tar for this. If you have indexing turned on,
you have already a complete list of all files on all your tapes
in your index directorys.
# amrestore /dev/tape host /disk
# tar -tvf host_disk.0 > /tmp/list_of_files_in_tape
# find /disk -exec ls -l {} \; -print > /tmp/list_of_files_in_disk
hm, won't this travers down over all filesystems on your system
mounted below /disk ?
and it will follow every link in this filesystem, even those like ./ -> ../
leading to big problems...
at least you'll have to hand edit the generated file before feeding
it to diff.
Christoph
|