ddupe
This tool locates duplicates files in a directory (or directory tree), and optionally allows to delete them.
Usage
C:\...\>ddupe.exe /? ddupe - Version 4.0 Freeware written by Gerson Kurz (http://p-nand-q.com) USAGE: ddupe.EXE [OPTIONS] DIR {DIR}. OPTIONS: /RECURSIVE: search directories recursively /RENAME: rename files in MD5 format /CACHE: cache file name /DELETE: delete files (default: list only) /MINSIZE: minimum size for files DIR {DIR}: one or more directories to search
For example, to list all duplicate images in your pictures folder, try:
C:\...\> ddupe /RECURSIVE "%HOMEPATH%\Pictures"
which would list all duplicate pictures you have.
If you combine that with /DELETE
, it will remove them, without warning, so know what you're doing!
You can cache MD5 values using the /CACHE filename
argument. On the first run, the database will be created; it will be updated as new MD5 hashes are
calculated.
If you don't care about filenames (for example because the filenames are generated anyway), you can use the /RENAME
option.
If a MD5 is calculated for a filename, it is renamed like so:
{...(MD5 sum here)...}original filename
This means that no database lookup is required to calculate the hash: it is already known from looking at the filename.
Download
- Starting with version 3.0,
ddupe
is part of gtools, which you can download here.. - The sourcecode is hosted on code.google.com.
License
ddupe is freeware, BSD-licensed.
History
- Version 4.0 - Feb 16, 2014
- Added
/RENAME
option - Changed filename from
DetectDuplicates.exe
toddupe.exe
- Added
- Version 3.2
- Minor bugfixes
- Version 3.1
- Works with relative paths such as
..
or.
. - You can write arguments in any order you like
- supports /CACHE arguemnt
- Minor bugfixes
- Works with relative paths such as
- Version 3.0
- First public release.
GK, Feb 16, 2014