Find Duplicates

yadf – fast duplicate file finder

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 help

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
CzkawkaFind duplicate files, big files, empty files, similar images, and much more
fdupesGreat CLI tool that's written in C
fclonesEfficient duplicate file finder and remover
rmlintFast tool to remove duplicates and other lint
jdupesPowerful CLI duplicate file finder and 'enhanced' fork of fdupes
smashFind duplicate files super fast
rdfindCLI redundant data find tool written in C++
duffCommand-line utility for finding duplicate files
rmdupesOption to use a reference directory
PeriscopeOrganize storage and safely remove redundant files
Go Find DuplicatesScans directories for duplicate files and directories
dskDittoParallel duplicate-file detector with interactive menus
samanlainenDelete duplicate files with SHA512 hashing
FSlintPython based CLI and GUI tool
sdupesFast duplicate file detection utility.
dupefiDuplicate file finder designed with Linux philosophy
DupsterDuplicate file finder
dupleFind and remove duplicate files
ddhDirectory Differential hTool
backdownSafely and ergonomically remove duplicate files

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted