Skip to content

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

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-personal-productivity-public

Install

logicpacks pack use personal-productivity-public/downloads-organizer
get_pack personal-productivity-public/downloads-organizer

The 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 // folders, then applies it on --apply and writes an undo script.

Verified by: Self-test in a temp folder: dry run moves nothing; --apply files 4 files into the right folders; undo restores them.

Steps

  1. Run python3 code/organize.py ~/Downloads and read the plan.
  2. Run again with --apply; an undo script is written to the folder as .organize-undo.sh.
  3. 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.