macOS
brew install fdupeslocal Homebrew formula metadata
sudo port install fdupesMacPorts ports tree · sysutils/fdupes/Portfile · source: api.github.com
brew
Identify or delete duplicate files. Version 2.4.0 via Homebrew; verified from local package data.
install
brew install fdupeslocal Homebrew formula metadata
sudo port install fdupesMacPorts ports tree · sysutils/fdupes/Portfile · source: api.github.com
sudo apk add fdupesAlpine Linux edge package indexes · fdupes · source: dl-cdn.alpinelinux.org
sudo apt install fdupesDebian stable package indexes · fdupes · source: deb.debian.org
sudo dnf install fdupesFedora Rawhide package metadata · fdupes · source: dl.fedoraproject.org
nix profile install nixpkgs#fdupesnixpkgs package indexes · pkgs/by-name/fd/fdupes/package.nix · source: api.github.com
sudo pacman -S fdupesArch Linux sync databases · fdupes · source: geo.mirror.pkgbuild.com
sudo zypper install fdupesopenSUSE Tumbleweed package metadata · fdupes · source: download.opensuse.org
overview
Identify or delete duplicate files
history
fdupes is a long-running command-line utility for identifying and optionally deleting duplicate files under one or more directories. It is a classic small Unix tool: give it paths, recurse if requested, compare files, print duplicate groups, and let the user decide what to remove.
The official README defines fdupes as a program for identifying duplicate files in specified directories. Its CHANGES file documents an old 1.x line with features such as semi-automatic deletion, hardlink handling, no-empty-file filtering, sameline output, size summaries, and safer comparisons.
The 1.6 and 2.x lines added more automation and safety features. Version 2.0.0 introduced an ncurses mode for interactive deletion, size filters, time display, ordering controls, logging, and an autotools build system. Later releases added cache support to speed comparisons, nanosecond file-time precision where available, and more defensive deletion checks.
The current development tree warns users that the repository is a development version and recommends package-manager installs or release downloads for ordinary users. That is a very fdupes-shaped maintenance stance: the utility is small, but because it can delete data, release discipline matters.
The supplied package facts show fdupes packaged by Alpine, Homebrew, Debian, Fedora/dnf, MacPorts, Nix, Arch/pacman, Ubuntu, and openSUSE/zypper. That breadth is the adoption story: duplicate-file cleanup is a universal enough need that a small C utility earned a place in most Unix-like package sets.
GitHub releases show maintained 2.x releases through 2025, while the changelog preserves the older 1.x feature history. fdupes has remained relevant because it avoids becoming a storage-management suite; it does one risky filesystem job and exposes conservative prompts and options around it.
Users run fdupes against directories, commonly with --recurse to scan trees and --delete only after reviewing duplicate groups. The README explicitly warns that deletion can cause data loss in confusing symlink or repeated-directory cases, so interactive review and careful option choice are part of normal use.
The tool compares candidates efficiently by filtering and signing file contents, and modern versions can cache file signatures. It can also summarize duplicates, omit the first file in each set, preserve by ordering, and operate non-interactively when users deliberately choose that risk.
fdupes is one of those tiny utilities package managers keep around because it solves an admin problem without pulling in a desktop app or indexing service. It is also a good example of why mature CLI tools accrete flags: each flag encodes a real filesystem edge case someone hit.
Its significance is practical rather than fashionable. It is the package you install during disk-cleanup triage, run once, and then keep in your mental toolbox.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
fdupes | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/adrianlopezroche/fdupes
install metadata
| Package key | brew:fdupes |
|---|---|
| Version | 2.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/fdupes |
| Homepage | https://github.com/adrianlopezroche/fdupes |
| Repository | https://github.com/adrianlopezroche/fdupes |
| Upstream docs | https://github.com/adrianlopezroche/fdupes#readme |
| License | MIT |
| Source archive | https://github.com/adrianlopezroche/fdupes/releases/download/v2.4.0/fdupes-2.4.0.tar.gz |
| Dependencies | pcre2 |
| Uses from macOS | ncurses, sqlite |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | fdupes |
| Version Scheme | 1 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
fdupes 1:2.3.2-1
identifies duplicate files within given directories
https://github.com/adrianlopezroche/fdupes
sudo apt install fdupesfdupes
nix profile install nixpkgs#fdupesfdupes 1:2.3.0-1build1
identifies duplicate files within given directories
https://github.com/adrianlopezroche/fdupes
sudo apt install fdupesfdupes 2.4.0-r0
identifying or deleting duplicate files residing within specified directories
https://github.com/adrianlopezroche/fdupes
sudo apk add fdupesfdupes-doc 2.4.0-r0
identifying or deleting duplicate files residing within specified directories (documentation)
https://github.com/adrianlopezroche/fdupes
sudo apk add fdupes-docfdupes 2.4.0-3.fc44
Finds duplicate files in a given set of directories
https://github.com/adrianlopezroche/fdupes
sudo dnf install fdupesfdupes 1:2.4.0-2
a program for identifying or deleting duplicate files residing within specified directories
https://github.com/adrianlopezroche/fdupes
sudo pacman -S fdupesfdupes 2.4.0-1.3
Tool to identify or delete duplicate files
https://github.com/adrianlopezroche/fdupes
sudo zypper install fdupesfdupes
sudo port install fdupessource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.