fclones – efficient duplicate file finder and remover

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 commands

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
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