find . /! -type d -exec md5sum '{}' ';' | sort | uniq -D -w 32 TODO: how to find files in compressed files, eg: zip,rar,7z,gz,tar,....