jdupes
$ jdupes Community High Riskjdupes is a fast C duplicate-file scanner descended from fdupes with significant speedups and hardlink (-L) or CoW reflink (-B) deduplication. Read-only scans (jdupes -r -S -m) run non-interactively, whereas -d deletes files interactively unless -N (--noprompt) is passed.
brew install jdupes C-speed local duplicate detection via jdupes -r -S needs no MCP server.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Read-only -r -S and -r -m run cleanly without prompts, but output is plain text (no --json) and -d prompts interactively without -N.
- Non-interactive
-r -S/-r -mread-only reporting - No
--dry-runflag;-dprompts unless-Nis passed
Lacks a --dry-run flag for -L or -dN; running -dN permanently deletes duplicates without confirmation.
-dNperforms irreversible automated deletion without dry-run preview
Widely packaged on macOS (brew install jdupes), Linux distros, and Windows builds.
- Available across macOS, Linux, and Windows
Blazing fast C hashing with hardlink (-L), CoW clone (-B), and quick (-Q) modes.
- Fast C scanner outperforming classic
fdupes
Actively maintained MIT-licensed C project by Jody Bruchon.
- Long-running upstream development at jdupes.com
Detailed jdupes(1) man page and --help documenting -r, -S, -m, -L, -d, and -N.
- Comprehensive CLI help and man page
Security, Auth & Guardrails
None required; operates purely on local directory trees.
100% free, offline, and open-source (MIT).
# jdupes Agent Rules - NEVER run `jdupes -d` without `-N` (interactive prompt hangs) and NEVER run `-dN` without explicit user approval (permanent deletion with no dry-run). - Use `jdupes -r -S` or `jdupes -r -m` for safe read-only inspection; prefer `fclones` when `--json` or `--dry-run` is needed.
Agent-Ready Command Recipes
Safe Read-Only Queries
jdupes -r -m ./assets
Recursively (-r) scans ./assets read-only and prints a concise summary (-m) without modifying files.
jdupes -r -S ./assets
Recursively lists each duplicate match group along with file sizes (-S) read-only.
Controlled Writes & Previews
jdupes -r -L ./assets
Replaces duplicate files with hardlinks (-L) to reclaim space without deleting paths; verify with -r -S first.
Strengths for Agents
- + Extremely fast C duplicate scanning (
jdupes -r -Sand-r -m). - + Supports hardlink (
-L) and Btrfs/APFS CoW (-B) deduplication.
Caveats & Pitfalls
- ! No
--dry-runflag for mutating modes (-L,-dN). - !
-dprompts interactively unless-Nis supplied, and-dNpermanently deletes files.