juan.ca
← All projects

duperr

Live

A fast, safe duplicate file finder

duperr ~/Photos ~/Backup
Source (opens in a new tab)
Kind
Command-line tool
Platforms
macOS, Linux
Stack
  • Rust
Active
Dec 2025

Highlights

  • Hashes progressively, from size to the first 4 KB to a full BLAKE3 hash, in parallel
  • Dry run by default, with backups on delete
  • Human, JSON or CSV output
  • Hardlink detection and symlink awareness

duperr finds duplicate files. It groups files by size first, since a file with a unique size can’t have a duplicate, then hashes the first 4 KB of the remaining candidates, and only then hashes whole files with BLAKE3. The hashing runs in parallel across the CPU cores.

Deleting is opt-in. With --delete it shows a dry run first, can copy each duplicate to a backup folder before removing it, and keeps the copy my chosen strategy picks: newest, oldest, first, or the shortest or longest path. --paranoid adds a byte-by-byte check after a hash match.

It detects hardlinks, skips empty files and prints results as text, JSON or CSV. It’s written in Rust.