3 releases

0.1.3 Oct 23, 2019
0.1.2 Oct 18, 2019
0.1.0 Oct 18, 2019

#31 in #ensure

MIT license

8KB
163 lines

DeeDoo

Command line file deduplicator.

About

The deduplicator does not delete any files. Any duplicates it finds are moved to the rejects directory with the full path preserved. The rejects directory location can be specified with the -o option. The program finds the duplicates by performing crc32 calculation on the file content. If the -E flag is specified program will perform full byte-by-byte comparison to ensure files are the same.

Installation

Install directly with cargo:

cargo install deedoo

Usage:

USAGE:
    deedoo [FLAGS] [OPTIONS] <directory>

FLAGS:
    -E, --ensure     Runs additional check to verify duplicate.
    -h, --help       Prints help information
    -V, --version    Prints version information
    -v, --verbose    Show extra logging

OPTIONS:
    -o, --output <out_directory>    Directory for duplicated files.

ARGS:
    <directory>    Directory to scan.

Dependencies

~1.6–8.5MB
~62K SLoC