Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Commands

rsdedup uses a two-level subcommand structure:

rsdedup <command> <subcommand> [options] [path]

Top-level commands

CommandDescription
dedupFind and act on duplicate files
cacheManage the hash cache
versionShow version and build information
completeGenerate shell completions

Global options

These options apply to all commands that scan files. They are hidden from the short help (-h) but visible in the long help (--help).

FlagDescriptionDefault
--compare <METHOD>Comparison method: size-hash, hash, byte-for-bytesize-hash
--hash <ALGO>Hash algorithm: sha256, xxhash, blake3sha256
--min-size <BYTES>Minimum file size to considernone
--max-size <BYTES>Maximum file size to considernone
-r, --recursiveRecurse into subdirectoriestrue
--no-recursiveDo not recursefalse
--follow-symlinksFollow symbolic linksfalse
-v, --verboseVerbose outputfalse
--output <FORMAT>Output format: text, jsontext
-j, --jobs <N>Number of parallel workersCPU count
--no-cacheDisable the hash cachefalse
--no-timingDisable timing outputfalse
--exclude <GLOB>Exclude files matching pattern (repeatable)none
--include <GLOB>Only include files matching pattern (repeatable)none