https://github.com/kerolloz/same-file-finder
A simple script to find similar files in a directory
https://github.com/kerolloz/same-file-finder
collaborate github hash hashing md5
Last synced: 10 months ago
JSON representation
A simple script to find similar files in a directory
- Host: GitHub
- URL: https://github.com/kerolloz/same-file-finder
- Owner: kerolloz
- Created: 2022-02-10T16:46:15.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-21T12:39:25.000Z (over 1 year ago)
- Last Synced: 2024-06-21T16:42:57.703Z (over 1 year ago)
- Topics: collaborate, github, hash, hashing, md5
- Language: Go
- Homepage: https://threadreaderapp.com/thread/1491903134108725251.html
- Size: 3.91 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- [Node.js](./index.js)
- [GoLang](./main.go)
- [Ruby](./main.rb)
- [Bash](./script.sh)