An open API service indexing awesome lists of open source software.

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

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)