hello,
as "jailbait" is saying you can restore archive in test_dir and do:
Code:
diff -rq . test_dir
you can pass null delimiter "0":
Code:
-0, --null
In copy-out and copy-pass modes, read a list of filenames terminated by a null character instead of a newline,
so that files whose names contain newlines can be archived. GNU find is one way to produce a list of null-ter-
minated filenames.
this speeds up archiving
Code:
find . -print0|cpio -ov0 1>/db2/bkp.cpio 2>/db2/log/backup.log