Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

jdupes

$ jdupes Community High Risk
Jody Bruchon · Files & Search · MIT · macos / linux / windows

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

FCRS-1.0 Score
76 /100
Good
Medium Confidence
Zero-Friction Install
brew install jdupes
CLI vs MCP Decision CLI Only

C-speed local duplicate detection via jdupes -r -S needs no MCP server.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

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 -m read-only reporting
  • No --dry-run flag; -d prompts unless -N is passed
Trust & Safety 17 / 25

Lacks a --dry-run flag for -L or -dN; running -dN permanently deletes duplicates without confirmation.

  • -dN performs irreversible automated deletion without dry-run preview
Setup & Portability 13 / 15

Widely packaged on macOS (brew install jdupes), Linux distros, and Windows builds.

  • Available across macOS, Linux, and Windows
Utility & Efficiency 14 / 15

Blazing fast C hashing with hardlink (-L), CoW clone (-B), and quick (-Q) modes.

  • Fast C scanner outperforming classic fdupes
Maintenance & Lineage 8 / 10

Actively maintained MIT-licensed C project by Jody Bruchon.

  • Long-running upstream development at jdupes.com
Docs & Verifiability 7 / 10

Detailed jdupes(1) man page and --help documenting -r, -S, -m, -L, -d, and -N.

  • Comprehensive CLI help and man page

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; operates purely on local directory trees.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

100% free, offline, and open-source (MIT).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Summarize duplicate counts and reclaimable bytes
jdupes -r -m ./assets

Recursively (-r) scans ./assets read-only and prints a concise summary (-m) without modifying files.

List duplicate file groups with byte sizes
jdupes -r -S ./assets

Recursively lists each duplicate match group along with file sizes (-S) read-only.

Controlled Writes & Previews

Deduplicate identical files using hardlinks
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 -S and -r -m).
  • + Supports hardlink (-L) and Btrfs/APFS CoW (-B) deduplication.

Caveats & Pitfalls

  • ! No --dry-run flag for mutating modes (-L, -dN).
  • ! -d prompts interactively unless -N is supplied, and -dN permanently deletes files.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI