Yet Another Dupes Finder

It's fast on my machine.

Installation:

bash cargo install yadf

CLI Usage:

``` yadf 0.1.0 Yet Another Dupes Finder

USAGE: yadf [FLAGS] [OPTIONS] [path]

FLAGS: -h, --help Prints help information -n, --no-empty exclude empty files -r, --report print human readable report to stderr -V, --version Prints version information

OPTIONS: -a, --algorithm hashing algorithm [default: highway] -f, --format output format json, json_pretty, fdupes or machine [default: fdupes] --max maximum file size (default no maximum) --min minimum file size (default 0 byte)

ARGS: directory to search [default: .] ```

Library usage:

```rust let path: &Path = "any/path".asref(); let duplicateslist = yadf::count_files::(path, None);

print!("{}", duplicateslist.display::()); serdejson::towriter(std::io::stdout(), &duplicateslist).unwrap(); eprintln!("{}", yadf::Report::from(&duplicates_list));

for duplicates in files_counter.duplicates() { println!("There are {} instances of this file", duplicates.len()); } ```

Building (with or without --release): - the library: cargo build. - the executable: cargo build --features build-bin.