AptLynx

Command-line tool

duff

brew/duff

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Quickly find duplicates in a set of files from the command-line

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install duff

Linux

brew install duff

Find duplicate files recursively

duff -r path/to/directory

List all but one file from each cluster of duplicates

duff -er path/to/directory

List unique files

duff -ur path/to/directory

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents