The only CLI tool that finds similar images, not just exact duplicates. Clean up your photo library with one command.
Find similar images even when they've been resized, compressed, or lightly edited. Uses the same technology as Google Images and TinEye.
SHA256 hashing across all CPU cores. Processes thousands of files per second. Written in Go for maximum performance.
Dry-run mode to preview changes. Move instead of delete. Interactive confirmation. Never lose data accidentally.
Automatically keep the oldest, newest, largest, or smallest file. Or specify a "sacred" directory to prioritize.
Works on macOS, Windows, and Linux. Scriptable and automatable. Integrate into your workflow or cron jobs.
Export JSON reports of all duplicates found. Review before deleting. Track what was removed.
| Tool | CLI | Cross-Platform | Perceptual | Price |
|---|---|---|---|---|
| file-deduplicator | ✓ | ✓ | ✓ | Free / $10 |
| dupeGuru | ✗ | ✓ | ✗ | Free |
| Gemini 2 | ✗ | ✗ | ~ | $20 |
| fdupes | ✓ | ✓ | ✗ | Free |
No other CLI tool offers perceptual image deduplication.
Like ripgrep, fd, and bat, file-deduplicator is free and open source. Pre-built binaries available if you prefer convenience.
Want to support ongoing development?
☕ Buy Me a Coffee