Quote:
Originally Posted by sandrajoy
Can someone recommend a compare or verify command I can use? Will --verify work with my tape drive and could I just add W to my current -cvf command? Would it be -cvfW?
|
You could use the -W option, but don't put it after the "f" or you'll confuse tar. Put it before it, e.g.:
Code:
tar -cvWf tar.file /files/to/tar
note that verify borks on files with absolute path that tar removes, so you may need to use the -P flag, e.g.:
Code:
tar -cvPWf tar.file /files/to/tar
Btw, I don't have a tape drive, so I have no idea if this is tape-friendly method or not! Test, test, test!