Duff Resurrected is the revival of DUFF (DUplicate File Finder), Jeremy B. Smith’s 2002-2005 open source tool (sourceforge.net/projects/dff). The Visual C++ 6 sources were ported to Visual Studio 2022/2026, Unicode and 64-bit, with dozens of crashes and bugs fixed and the search made many times faster by grouping files before comparing them.
Find duplicates by content (byte by byte, by 128-bit hash, or only the first or last part of huge files), name, text or MP3 audio data, narrow them down with filters, mark the copies you don’t need automatically (oldest, biggest, in a certain folder, ...) and delete, move or export them. Placeholder or batch files can point to the copy that was kept.
New: an Advanced page that combines comparisons, file masks and filters with AND / OR / NOT, saved profiles, a two-pane Compare Directories window, dark mode, long path support, warnings for risky settings, a built-in user guide and a working command line tool.
Features
- Finds duplicate files on local and network drives, in any number of directories, with or without sub directories
- File masks (include or exclude), sub directories to skip and sub directory attributes
- Supports paths longer than 260 characters and Unicode names
- Does not follow junctions and symbolic links to directories, so no loops
- Fast: only files with a possible partner (same size, name, text or audio data) are compared
- Binary Data: whole file byte by byte, whole file by 128-bit hash (every file read once), only the first n bytes / KB / MB, or only the first and last 64 KB
- Filename: name and extension each equal, different or ignored, or names that share at least N common words
- Text Data: same text across ANSI, UTF-8 and UTF-16; line endings and case can be ignored
- MP3 File Data: same audio, ID3v1 and ID3v2 tags ignored
- Combine layers with OR (any) or AND (all), for example "same data AND same name"
- Build an expression of rules with AND / OR / NOT and groups (parentheses), like mail rules
- A rule is a comparison layer, a file mask or a filter, each with its own settings
- Different kinds of files can get different comparisons, e.g. *.mp4 by first and last 64 KB, *.jpg by hash
- File size (bytes to TB), creation / modification / access date, attributes
- Contents: only files that contain (or do not contain) a text
- Oldest or newest file, smallest or biggest, oldest or newest file version
- Files inside or outside given directories; longest or shortest name; names that contain a text
- Combine markers with OR or AND, e.g. "the oldest copy inside D:\Backup"
- A marker never marks the last copy of a set, so one file always survives
- Delete to the recycle bin or permanently
- Move to a directory, optionally keeping the directory structure; existing files are never overwritten
- Send to a program, one file at a time or all at once
- Save the file list as text with a configurable line format
- Add placeholders: a text file per file or per directory that tells where the kept copy is, or a batch file that copies the files back
- Optional removal of empty directories and a report of everything deleted or moved
- Sortable, configurable columns, tooltips, counters for duplicates, marked and selected files and their sizes
- Open files, open containing directories, file properties and shell verbs from the context menu
- Sets of empty (zero-byte) files can be listed apart from the real duplicates
- Copy names to the clipboard or export the list as CSV (UTF-8)
- Two directories side by side like a two-pane file manager: duplicates paired, files without a match in red
- Compare any two directories with the current rules, and move marked files across
- Profiles: save and load all search settings under a name; the last session is restored
- Dark mode, resizable window, size units from bytes to TB, built-in user guide (F1)
- Options take effect at once; no registry use and no network access by the program itself
- duffc.exe runs the same engine for scripts and scheduled tasks, with dry run, CSV output and exit codes
- Windows 7 SP1 or later, 64-bit and 32-bit builds, installer included
- Open source (GPLv2); a modernised continuation of DUFF 0.6.9.26 by Jeremy B. Smith