← 返回命令列表

Linux command

fclones 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Find duplicate files

fclones group [directory]

Remove duplicates interactively

fclones group [directory] | fclones remove

Limit scan depth

fclones group --depth [2] [directory]

Replace duplicates with hard links

fclones group [directory] | fclones link

Show duplicate statistics

fclones group [directory] --format fdupes

Move duplicates to

fclones group [directory] | fclones move [trash_dir]

说明

fclones is a high-performance duplicate file finder written in Rust. It uses multiple algorithms including hash-based comparison and parallel processing for fast scanning of large file systems. The tool works in two phases: finding duplicates with 'group' and acting on them with remove, link, or move. Output can be piped between commands or saved for review before action. fclones optimizes for speed with techniques like partial hashing, caching, and SIMD acceleration.

参数

--depth _N_
Maximum directory depth.
--min _SIZE_
Minimum file size.
--max _SIZE_
Maximum file size.
--format _FORMAT_
Output format: default, fdupes, csv, json.
-R, --follow-links
Follow symbolic links.
--threads _N_
Number of threads.
--help
Display help information.

FAQ

What is the fclones command used for?

fclones is a high-performance duplicate file finder written in Rust. It uses multiple algorithms including hash-based comparison and parallel processing for fast scanning of large file systems. The tool works in two phases: finding duplicates with 'group' and acting on them with remove, link, or move. Output can be piped between commands or saved for review before action. fclones optimizes for speed with techniques like partial hashing, caching, and SIMD acceleration.

How do I run a basic fclones example?

Run `fclones group [directory]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --depth _N_ do in fclones?

Maximum directory depth.