fclones is a command-line utility for identifying identical files and reclaiming storage occupied by redundant copies. It separates duplicate detection from cleanup operations, allowing users to examine and modify the results before changing their files.
The application is optimised for large file collections and modern storage devices. It adjusts its scanning strategy according to the underlying storage hardware and uses parallel processing to reduce the time required for disk access and content hashing.
fclones supports several ways of handling duplicates, including deletion, relocation and replacement with filesystem links. Its structured output also makes it useful in shell scripts and automated storage maintenance.
This is free and open source software.
Key Features
- Identifies groups of files with identical contents.
- Finds unique files and files with specified minimum or maximum replication counts.
- Supports multiple directory roots and file lists supplied through standard input.
- Provides recursive scanning with configurable depth limits.
- Filters files using glob patterns, regular expressions and file size limits.
- Handles symbolic links and hard links through configurable scanning rules.
- Uses parallel processing for directory traversal, hashing and other I/O-intensive operations.
- Automatically adjusts its scanning strategy for solid-state drives and hard disks.
- Supports persistent hash caching to accelerate repeated scans.
- Offers a choice of cryptographic and non-cryptographic hashing algorithms.
- Removes, moves or replaces redundant files with symbolic links or hard links.
- Supports copy-on-write reflinks on compatible filesystems.
- Allows files to be prioritised for retention using paths, names and timestamps.
- Provides a dry-run option for previewing filesystem changes.
- Exports results in text, CSV, JSON and fdupes-compatible formats.
Website: github.com/pkolaczk/fclones
Support:
Developer: Piotr Kołaczkowski
License: MIT License

fclones is written in Rust. Learn Rust with our recommended free books and free tutorials.
fclones’ developer has also written a GUI for fclones, called fclones-gui.
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.