If I understand correctly the following is the most optimal way to copy a directory structure with its files and then verify that those directories and files copied ok without being corrupted: cp -a sourcedir destinationdir diff -arq sourcedir destinationdir Please enlighten me if there is a more optimal way or if I am doing something that doesn't make sense or is just plain wrong.