This program finds duplicate files by calculating their hash values.
The chosen hashing algorithm was blake version 3.
To find duplicate files in a directory, run the command:
find_duplicate_files
Type in the terminal find_duplicate_files -h
to see the help messages and all available options:
```
find duplicate files according to their blake3 hash
Usage: findduplicatefiles [OPTIONS]
Options:
-f, --fullpath
Prints full path of duplicate files, otherwise relative path
-g, --generate
To build and install from source, run the following command:
cargo install find_duplicate_files
Another option is to clone/copy the project from github, compile and generate the executable:
```
git clone https://github.com/claudiofsr/findduplicatefiles.git
cd findduplicatefiles
cargo b -r && cargo install --path=. ```
No significant difference was observed between blake3 and sthash.
But if you prefer to use STHash:
cargo b -r && cargo install --path=. --features sthash
In general, jwalk (default) is faster than walkdir.
But if you prefer to use walkdir:
cargo b -r && cargo install --path=. --features walkdir