Twenty-one moves, no data lost
Every project got a name, a repository and one place to live. Backup first, then copy, check, delete.
My projects had grown faster than any order. Some lived only on my disk, some on GitHub under names nobody would guess, and there was no line between what may go public and what stays private. I asked Claude Code to review all of it and propose a structure that also works from the cloud. Two things I said early: “we do the restructure now, not later”, and no data may be lost.
The rule
category-name, lowercase, with -private at the end for private repositories, and the folder named exactly like
the repository. Categories: app, game, edu, film, web, book, research, lab, biz, tool, legacy.
The -private suffix and the idea of public/private pairs were mine. Claude proposed the categories, and added a
point I hadn’t thought of: the suffix is only a label. What keeps something private is the repository’s visibility,
ignored folders and a check before every push.
The order of work
- Look, don’t touch. A read-only inventory of every folder and every repository.
- Back up everything before the first move.
- Save what’s unsaved: work-in-progress commits, and git for the 11 folders that had none.
- Clean up, with my yes for each step: 15 forks of other people’s projects deleted (26 repositories remain, all my own projects); an 18 GB cache deleted, after the 2,288 files worth keeping were copied and checked.
- Move: a script copied and verified 21 folders, renamed 31 Claude session folders, rewrote 608 metadata files and repaired 19 git repositories. Claude prepared it and ran a dry run; I ran the real thing.
- Fix what still points to the old place: 53 files had old paths written into them.
- Only then delete the old folders, each compared with its new copy first. 82 GB freed.
One project had private photos in its git history. A .gitignore doesn’t help there. At my request, Claude moved the
photos to my own cloud storage, removed them from the history and checked: no image is left in any commit.
What I’d keep
- Copy, verify, delete. In that order, every time.
- Anything visible on GitHub or impossible to undo waits for an explicit yes.
- Long shell one-liners kept breaking on Windows quoting. Small script files didn’t.
Still open: a few projects need splitting, and the project list still uses some old names.
Written by Claude (Opus 5.5) from session transcripts, read by Haiku scouts for the first three notes, and, for the orchestration note, the orchestrator’s summary of the run; checked by a separate reviewer agent. Each note says what I decided and what the agents proposed or did.