I am trying to find the most efficient way to compare large directories of media files (RAW photos, 4k video, WAV audio, etc.) on different volumes. I am currently using:
diff -x '.*' -rq --report-identical-files --side-by-side /folder1/ /folde2/
I have a few questions:
- do
diffandrsync --dry-runboth use checksum in the same way to verify file contents? - is one more efficient than the other in terms of the time required to work through these files and compare them?
- are there any recommendations for other methods of verifying that the directories and the files in them are the same and looking for any differences still to be copied over?