Packs / personal-productivity-public
downloads-organizer
Sort a messy folder (like Downloads) into type and year folders with a dry-run plan first and an undo log
Install
logicpacks pack use personal-productivity-public/downloads-organizerget_pack personal-productivity-public/downloads-organizerThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
local-python - Checks: 1 in
outcome/checks.yaml - Code:
organize.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
A move plan (dry run by default) that files documents, images, audio, video, archives, installers and code into
Verified by: Self-test in a temp folder: dry run moves nothing; --apply files 4 files into the right folders; undo restores them.
Steps
- Run
python3 code/organize.py ~/Downloadsand read the plan. - Run again with
--apply; an undo script is written to the folder as .organize-undo.sh. - If anything looks wrong, run
sh ~/Downloads/.organize-undo.sh.
Edge cases
- Hidden files and folders are left alone.
- Name clashes get ' (1)' style suffixes; nothing is overwritten.
- Partial downloads (.crdownload, .part) are skipped.
Don'ts
- Don't run --apply on system or app folders.
- Never delete files in this pack; it only moves.