# duplicate-file-finder

Find duplicate files (same content) across folders and see how much space removing them would free

- **Space:** personal-productivity-public (https://github.com/Tech-Realm/space-personal-productivity-public/tree/main/duplicate-file-finder)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** local-python; checks: 1
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use personal-productivity-public/duplicate-file-finder` or MCP `get_pack personal-productivity-public/duplicate-file-finder`
- **Files:** CHANGELOG.md, code/dupes.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/results.json, pack.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

Groups of identical files (size then SHA-256), with the wasted bytes per group and in total; a keep-first suggestion, no deletion.

Verified by: Self-test: 3 copies of one file and 2 of another in a temp tree give 2 groups and the exact wasted bytes.

## Steps

1. Run `python3 code/dupes.py ~/Pictures ~/Downloads --min-size 1024`.
2. Review groups; delete or move extras yourself (Finder/trash) so it is recoverable.

## Edge cases

- Hard links show as duplicates but use no extra space (same inode is skipped).
- Cloud placeholder files (iCloud/Dropbox not downloaded) are skipped by size 0.

## Don'ts

- The tool never deletes; don't add auto-delete.
- Don't run on system folders or app bundles.



---

Canonical URL: https://logicpacks.io/packs/personal-productivity-public/duplicate-file-finder

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
