Command-line tool
fdupes
brew/fdupes
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Identify or delete duplicate files
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install fdupes
Linux
brew install fdupes
Search a single directory
fdupes path/to/directory
Search multiple directories
fdupes path/to/directory1 path/to/directory2 ...
Search a directory recursively
fdupes -r path/to/directory
Related command-line tools
- jdupes
Duplicate file finder and an enhanced fork of 'fdupes' - rdfind
Find duplicate files based on content (NOT file names) - czkawka
Duplicate file utility rust cleaner duplicates multiplatform similar-images gtk-rs similar-music similar-videos - rmlint
Extremely fast tool to remove dupes and other lint from your filesystem - fclones
Efficient Duplicate File Finder - find_duplicate_files
find identical files according to their size and hashing algorithm - duff
Quickly find duplicates in a set of files from the command-line - file-identify
File identification library for Rust - detects file types based on extensions, shebangs, and content
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents