Compare directory MD5 crc for double dublicate files

Sure – md5sum directory/*

If you need something a little more flexible (say, for directory recursion or hash comparison), try md5deep.

To compare a directory structure, you can give it a list of hashes to compare against:

This will output all of the files in directory2 that do not match to directory1.

This will not show files that have been removed from directory1 or files that have been added to directory2.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.