Working with filesWhere it goes and in what format · 6 min read

Migrating the mess

Nobody starts from zero. You are going to have a Downloads folder with six hundred files, a scattered Desktop, and three folders called "stuff".

Reorganizing that by hand is a lost afternoon, which is why it never gets done.

The move is this one, in three steps and without rushing.

  1. Have it look and propose first"Look at this folder and tell me what is in it: group by subject, not by file type. Propose a folder structure and a naming rule. Do not move anything yet." You read the proposal, argue with it, adjust it.
  2. Have it do it, with a net"Go ahead, do it. Never delete anything: whatever is left over or duplicated, send it to _delete/. And leave me a move-log.md with what you moved and where from." That log is your undo.
  3. Have it write the rules for the future"Write a CLAUDE.md with this structure and this naming rule, so from now on everything new lands in its place on its own." Without this step, in three months you are back where you started.
No rush, and with a safety net on step two.

The CLAUDE.md is what turns this into a system instead of a spring clean.

Tidying once is an afternoon. Writing the rule is ten minutes and tidies forever.

And how do I keep track of changes? Once the work lives in files, a new need shows up: trying something without losing what you already had.

The homemade answer is to duplicate the file and add _v2. It works three times; by the fourth you no longer know which one was good.

The good answer is called version control: instead of copies, the program saves snapshots of the folder's complete state, each with a message from you explaining what you did.

And here the argument closes: that works beautifully with text and rather badly with binaries. With text it tells you "you changed this line". With a binary it can only say "it changed", and it stores a whole copy of the file in every snapshot — so the folder swells fast.

Which is the step people skip, the one that leaves them back where they started in three months?

Tidying once is an afternoon. Writing the rule is ten minutes and tidies forever.

snack 3 of 6 · Dots or instructions

Powered by KlugerByte