kerolloz / same-file-finder

A simple script to find similar files in a directory
https://threadreaderapp.com/thread/1491903134108725251.html
7 stars 1 forks source link
collaborate github hash hashing md5

Same file finder

Problem Statement

You have a directory with nested files (or directories). You need to find similar files according to their md5 hash.

You need to recursively traverse a given directory and hash every file you find. While hashing the files you need to find files with matching hashes. You will also need to save the full path for the hashed files. Finally, you should output the full paths of the files that have the same hash value, if any.

Solutions