/dup_files_detector

A helper application to detect and list duplicated files in a directory.

Primary LanguageGoApache License 2.0Apache-2.0

Duplicated files detector

A helper application to detect and list duplicated files in a directory.

I originally built it to cleanup duplicated pictures on my hard drive. But it works for other files types as well.

Install

Requirement: Golang command line 1.17.x

go install github.com/anas-aso/dup_files_detector@latest

Build

go build -a -installsuffix cgo -ldflags="-w -s" -o dup_files_detector

Usage

Process a single directory

./dup_files_detector --directoryPath=path/to/check

Or, process multiple directories

./dup_files_detector --directoryPath=path/to/dir1 --directoryPath=path/to/dir2 ...