GUI and CLI tool for removing duplicate files
USAGE: duplicate-remover [--help] [<command>] [<options...>] [-- [<application arguments...>]]
Find and remove duplicate files
Duplicate remover scans a directory for identical files based
on their hash. You must either pass export or removal arguments.
Both work on selected files which are a subset of duplicates
chosen through the selection strategy (--select).
Depending on the export type, you may pass additional settings,
like --export-json-quick-include which is supported by the JSON
exporter.
You may delete files permanently (--delete) or move them to the
Trash (--trash) if suported.
Options
=======
-sel --select Selection mode
Supported values: except-largest, except-smallest, largest, smallest, all, none,
-d --dir Directory to scan
--export-file Export desination
--delete Remove selected duplicates permanently
--help Show this help menu
--trash Move select deuplicates to trash
-w --workers Number of workers
--export-type Type of export
Supported values: JSON, JSON Simple, XML, CSV
--export-json-quick-include (JSON export) Explicitly add list of files from each group
Supported values: none, largest, smallest, except-largest, except-smallest
--hashfunc Hash function to use
Supported values: xxhash32, sha256, sha1, md5- Written in D for maximum efficiency
- Extremely fast scanning through use of parallelism and scheduling algorithms
- Fast file hashing using xxhash and pre-hashing mechanisms
- Supports different hashing functions (XXhash, SHA256, SHA1, MD5)
- Lighweight, efficient and native GUI powered by the IUP library
- Easy to use CLI
- Easily mark files for deletion
- Delete files quickly (permanently or moving them to Trash)
- Export scanning results to JSON
Download pre-built binaries for x64 Windows and Linux here.
You can also build Duplicate Remover yourself. Duplicate Remover is written in D and requires the DMD compiler (LDC and GDC not tested).
See BUILDING.md for build instructions.
| Size (GB) | Number of folders | Number of files | Contents | Collision groups | Colliding files |
|---|---|---|---|---|---|
| 149,59 GB | 22 | 20505 | Images and videos | 2080 | 4168 |
- Tested on Windows 10, 22H2
- Data stored on an ST1000DM010-2EP102 HDD
- Parallelism enabled if possible (max 4 threads)
- Fastest hash function available for each tool
- Pre-hashing turned on if available
- Scan time measured only
| Tool | Warmness | Time elapsed |
|---|---|---|
| Duplicate Remover | warm | 0:01 |
| DUDE | warm | 0:03 |
| Duplicate Remover | cold | 1:21 |
| Duplicate Cleaner 5 Pro | warm | 1:54 |
| DUDE | cold | 2:00 |
| Duplicate Cleaner 5 Pro | cold | 2:13 |
* Benchmarks were not thoroughly tested, data warmness may not be accurate
This repository is licensed under BSD 2-Clause license.
See LICENSE for more info.
