rdfind
rdfind is a free command-line tool that finds duplicate files by comparing their contents rather than relying on filenames.
What rdfind is
rdfind is a free command-line tool that finds duplicate files by comparing their contents rather than relying on filenames. It searches supplied directories recursively, including comparisons within or across directories, and can help compress backup directories. Matching uses file size, the first and last bytes, checksums, and inode and device identity handling. Checksum choices include MD5, SHA-1, SHA-256, SHA-512, and xxh128, with SHA-1 as the default. By default, rdfind writes a results file and leaves files unchanged. Options can delete duplicates or replace them with symbolic or hard links, while a dry run previews what an enabled action would do. Other options can ignore empty files or set minimum and maximum file sizes. The tool runs on Linux, macOS, and Windows: Linux distributions commonly provide packages, Mac users can install through MacPorts, and Windows users may use Cygwin. The manual cautions that changing directories during a run can make rdfind brittle and warns that deletion or linking can expose it to symlink attacks. It does not handle file ownership or permissions, so it is not recommended across directories with several owners.
Good
- Searches directories recursively.
- Offers five checksum choices.
- Dry run previews enabled actions.
- Can ignore empty files and filter by size.
Watch out
- It does not handle file ownership or permissions.
- Deleting or linking can expose it to symlink attacks.
- The manual warns against changing directories during a run.
- No recycle-bin or Trash option is listed.
Who it suits
rdfind suits users comfortable supplying directories or files on the command line who need to locate duplicates or review backup directories. It is less suited to work across directories with several owners.
Verdict
rdfind gives users control over duplicate handling, with a default results-only mode and a dry-run preview. Read the manual’s cautions before using deletion or link options, especially across directories with multiple owners.
Plans and prices
From rdfind's own pricing page, checked 9 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| rdfind | Free | GPLv2 or later |
The facts
Each one read from rdfind's own pages, with the date it was checked.
What it does
- Checksum options
- It supports MD5, SHA-1, SHA-256, SHA-512, and xxh128 checksums; SHA-1 is the default.checked 9 Oct 2026
- Duplicate handling
- By default, rdfind writes a results file and takes no action; options can delete duplicates or replace them with symbolic or hard links.checked 9 Oct 2026
- File filtering
- Options can ignore empty files and set minimum and maximum file sizes.checked 9 Oct 2026
- Maintainer
- The site identifies Paul Dreik as rdfind's author.checked 9 Oct 2026
- Purpose
- rdfind finds duplicate files by comparing their contents rather than their names, and can help compress backup directories.checked 9 Oct 2026
- Recursive search
- It finds duplicates within or across directories and searches directories recursively.checked 9 Oct 2026
- Safe preview
- Its dry-run option prints what an enabled action would do instead of carrying it out.checked 9 Oct 2026
- Security guidance
- The manual warns that changing directories during a run can make rdfind brittle and that deleting or linking can expose it to symlink attacks.checked 9 Oct 2026
- Support
- The site directs users to GitHub issues for bug reports and feature requests and invites suggestions and comments.checked 9 Oct 2026
The company
- Founded
- 2006checked 28 Sep 2026
- Ownership limitation
- The manual says rdfind does not handle file ownership and permissions and is not recommended across directories with several owners.checked 9 Oct 2026
Where it runs
- Linux installation
- The official site says most Linux distributions have packages and gives apt and dnf installation examples.checked 9 Oct 2026
- Other platforms
- The official site says Mac users can install through MacPorts and Windows users may use Cygwin.checked 9 Oct 2026
Alternatives to rdfind
- 1
Czkawka
Free planOpen sourceAndroidAPILinuxmacOS7.4Free plan - 2
Avidemux
Free planOpen sourceWebLinuxmacOSWindows7.3Free plan - 3
DoubleKiller
Free planWindows7.2$19.95 one-time - 4
jdupes
Free planOpen sourceLinuxmacOSWindows7.2Free plan - 5
Duplicate Files Fixer
Free planAndroidmacOSWindows6.8From €35.95 a year - 6
Duplicate Photos Fixer Pro
AndroidiOSmacOSWindows6.7From $39.95 a year
