Compute and compare fuzzy hashes of files for similarity detection
Recursive piecewise hashing tool
ssdeep
$ ssdeep file.txt
$ ssdeep -r /path/to/directory > hashes.txt
$ ssdeep -m hashes.txt suspect_file.txt