On 24 Feb 2008, at 06:06, Stroller wrote:
So my question is:
Is there any way to check the integrity of copied directories, to be
sure that none of the files or sub-directories in them have become
damaged during transfer? I'm thinking of something like md5sum for
directories.
I use rsync for this and would suggest you look into it. You can tell
it to compare files based on checksum (which is slower) and the real
beauty is that if there is a file that is corrupt or otherwise not the
same as the source it will copy just that single file to your backup
disk. Test it by deleting a random file somewhere in the backup tree..
rerun your rsync command and the file is copied back.
man rsync
--
Christopher
--
gentoo-user@lists.gentoo.org mailing list