Frequently Asked Questions (FAQ) about fclones
Q: What is fclones?
A: fclones is a command-line utility designed to identify and manage duplicate files. It helps optimize storage space and improve system performance by finding and removing redundant file copies.
Q: What operating systems does fclones support?
A: fclones is primarily tested on Ubuntu Linux, but it also supports macOS and Windows.
Q: How do I install fclones?
A: You can install fclones via Snap store (Linux), Homebrew (macOS and Linux), or by building it from source using Rust’s cargo package manager.
Q: How do I use fclones to find duplicate files?
A: Use the fclones group command followed by the directory you want to scan. For example: fclones group . to scan the current directory.
Q: Can fclones remove duplicate files?
A: Yes, fclones can remove, move, or replace duplicate files with hard or soft links. Use the fclones remove, fclones move, or fclones link commands in conjunction with the output from fclones group.
Q: What is the difference between hard links and soft links?
A: A hard link creates a new directory entry that refers to the same inode as the original file. A soft link (symbolic link) creates a new file that points to the original file’s path. If the original file is deleted, the soft link will be broken.
Q: How can I specify which files to remove or keep when using fclones?
A: You can use the --priority option to specify the order in which files should be removed or kept (e.g., --priority newest to remove the newest replicas). You can also use --name and --path to filter files by name or path.
Q: Does fclones support different output formats?
A: Yes, fclones supports standard text, fdupes compatibility, CSV, and JSON output formats.
Q: What hash functions does fclones use?
A: fclones supports various hash functions, including metro, xxhash3, blake3, sha256, sha512, sha3-256, and sha3-512. You can select the hash function with the --hash-fn option.
Q: How can I improve the performance of fclones?
A: You can use the --cache option to enable caching of file hashes, adjust the --threads parameter to control parallelism, and use device-specific tuning options.
Q: How does fclones handle symbolic links?
A: By default, fclones ignores symbolic links to files unless --follow-links or --symbolic-links is set. The --follow-links option resolves symbolic links to their targets, while --symbolic-links treats symbolic links as hard links.
Q: What are the limitations of fclones?
A: Copy-on-write file data deduplication (reflink) is not supported on Windows. Some optimizations are also not available on platforms other than Linux.
Q: Is fclones safe to use?
A: fclones is designed with data integrity in mind. It offers a --dry-run option to preview changes before they are made. Always review the output carefully before removing or replacing files.
Q: Where is the cache database located?
A: The cache database is located in the standard cache directory of the user account:
- Linux:
$HOME/.cache/fclones - macOS:
$HOME/Library/Caches/fclones - Windows:
$HOME/AppData/Local/fclones
Q: How does fclones interact with UBOS?
A: fclones is available on the UBOS Asset Marketplace, providing a tool for managing data efficiently within MCP server environments. This contributes to the success of AI Agent development and deployment on the UBOS platform.
fclones
Project Details
- sunjoonkim/fclones
- MIT License
- Last Updated: 3/1/2025
Recomended MCP Servers
MCP Server for Genesis World.
An MCP Server for Bitcoin SV
GibsonAI's MCP server
🔍 Unified Search MCP Server - Search across Google Scholar, Web, and YouTube with a single query
Volume Wall Detector MCP delivers real-time stock volume analysis and imbalance tracking with MongoDB storage, powered by the...
Example Usage of model context protocol in Artificial Intelligence





