# downloads-organizer

Sort a messy folder (like Downloads) into type and year folders with a dry-run plan first and an undo log

- **Space:** personal-productivity-public (https://github.com/Tech-Realm/space-personal-productivity-public/tree/main/downloads-organizer)
- **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/downloads-organizer` or MCP `get_pack personal-productivity-public/downloads-organizer`
- **Files:** CHANGELOG.md, code/organize.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/results.json, pack.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

A move plan (dry run by default) that files documents, images, audio, video, archives, installers and code into <type>/<year>/ 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.



---

Canonical URL: https://logicpacks.io/packs/personal-productivity-public/downloads-organizer

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