yadf (Yet Another Dupes Finder) is a command-line utility for identifying duplicate files. It uses a multi-stage hashing process to find files with matching contents, with an emphasis on fast scanning and efficient resource usage.
The utility first groups files by size, then progressively hashes sections of their contents before hashing complete files where necessary. This avoids reading files that cannot be duplicates because their sizes differ. Parallel directory traversal and hashing are used to improve performance.
yadf is a read-only tool. It reports duplicate files without deleting or modifying them. Results can be inspected in the terminal or exported for further processing.
This is free and open source software.
Key Features
- Find duplicate files by comparing their contents rather than filenames.
- Multi-stage detection groups files by size before performing partial and full-content hashing.
- Recursively scans directories, including hidden and empty files by default.
- Search multiple directories and individual files in a single operation.
- Configure maximum directory traversal depth.
- Filter files using minimum and maximum size limits.
- Restrict searches using filename glob patterns or regular expressions.
- Filter results by replication factor to find files with more than, fewer than, or exactly a specified number of copies.
- Choose between AHash, BLAKE3, HighwayHash, MetroHash, SeaHash, and xxHash hashing algorithms.
- Parallel directory traversal and configurable concurrent hashing operations.
- Uses filesystem read-ahead hints on Linux to improve performance when accessing uncached files.
- Outputs duplicate groups in fdupes-compatible, CSV, JSON, line-delimited JSON, or machine-readable formats.
- Machine-readable output uses NUL separators to handle filenames containing special characters.
- Preserves non-Unicode filenames in supported output formats.
- Accepts directory paths through standard input, allowing integration with other command-line tools.
- Optionally treats hard links to the same file as duplicates.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/jRimbault/yadf
Support:
Developer: Jacques Rimbault
License: MIT License
yadf is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Find and Delete Duplicate Files with these CLI Tools | |
|---|---|
| Czkawka | Find duplicate files, big files, empty files, similar images, and much more |
| fdupes | Great CLI tool that's written in C |
| fclones | Efficient duplicate file finder and remover |
| rmlint | Fast tool to remove duplicates and other lint |
| jdupes | Powerful CLI duplicate file finder and 'enhanced' fork of fdupes |
| smash | Find duplicate files super fast |
| rdfind | CLI redundant data find tool written in C++ |
| duff | Command-line utility for finding duplicate files |
| rmdupes | Option to use a reference directory |
| Periscope | Organize storage and safely remove redundant files |
| Go Find Duplicates | Scans directories for duplicate files and directories |
| dskDitto | Parallel duplicate-file detector with interactive menus |
| samanlainen | Delete duplicate files with SHA512 hashing |
| FSlint | Python based CLI and GUI tool |
| sdupes | Fast duplicate file detection utility. |
| dupefi | Duplicate file finder designed with Linux philosophy |
| Dupster | Duplicate file finder |
| duple | Find and remove duplicate files |
| ddh | Directory Differential hTool |
| backdown | Safely and ergonomically remove duplicate files |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |



Please read our Comment Policy before commenting.