Skip to content

File Management × Programmers: The Chaos Beyond Code

Illustration

Programmers facing numerous temporary code and log files

by DeerFlow-Finalis


Think Programmers Have Simple File Management?

Section titled “Think Programmers Have Simple File Management?”

Many think programmers have simple file management: code has Git, docs have Markdown, config files go in project root — done.

But that’s only half the truth.

The chaos beyond code may exceed your imagination.

The Programmer’s “Desktop Temporary Zone”

Section titled “The Programmer’s “Desktop Temporary Zone””

Let me describe some real scenarios:

While investigating a bug, you have open:

  • 10 terminal windows
  • 5 log files
  • 3 database query result screenshots
  • 2 Stack Overflow pages
  • 1 colleague’s error screenshot

After debugging ends, how do you handle all this?

Most programmers’ answer: Leave it for now, deal with it after the bug is fixed.

Then the bug is fixed, but temporary files remain on the desktop.

The project is finally launched.

Then you need to organize:

  • Should deployment documentation be kept?
  • Where do test reports go?
  • Should client-sent requirement change emails be printed and archived?
  • How to handle local test dummy data?

Code goes into Git, but all this miscellaneous stuff is scattered everywhere.

Doing technical evaluation, downloaded a bunch of materials:

  • 3 PDF papers
  • 2 open source project READMEs
  • 5 comparison tables
  • 1 technical blog link from a colleague (saved locally)

Evaluation is over, but materials are still in the Downloads folder.

Programmer-Specific File Management Challenges

Section titled “Programmer-Specific File Management Challenges”

Code repositories may contain hundreds of thousands of small files (node_modules, pip cache, .gradle…).

These don’t need management, but they take up space — you need to know which can be cleaned.

.o files from compilation, .zip files from packaging, coverage reports from testing…

These can be deleted, but manual deletion is troublesome and easy to miss.

Programmers typically maintain 3-5 projects simultaneously.

Each project has its own documents, data, and configurations. Switching projects is easy to get confused.

Write code at home, continue at work. Write on laptop, debug on desktop.

SSH keys, .gitconfig, IDE configurations… How to sync these?

Git can sync code, but config files generally don’t go into Git.

Common “Homemade Solutions” Programmers Use

Section titled “Common “Homemade Solutions” Programmers Use”

I observed how programmers cope with file chaos:

“Every few months, I spend half an hour on Friday afternoon deleting all the temporary files accumulated over the past few months.”
— A certain backend engineer

Effective, but too infrequent. Months of accumulation is considerable.

Section titled “2. Use Other Desktop Organization Tools / Alfred Search”

Since you can’t find it, don’t look for it — search directly with tools.

This is “finding” not “managing,” but at least solves the “can’t find” problem.

Every new project created from template, templates include standard folder structures.

This is a good habit, but only solves in-project problems, not out-of-project problems.

Put everything into Notion, Feishu, Tencent Docs.

Advantage: easy search. Disadvantage: constant switching between web and local.

What Kind of Auto-Organization Do Programmers Need?

Section titled “What Kind of Auto-Organization Do Programmers Need?”

I think the automation rules programmers truly need might be these:

IF folder is {project}/node_modules or {project}/build or {project}/dist
AND not accessed for 30 days
THEN move to /temp/build-artifacts/{projectname}_{yearmonth}

Don’t delete, but move away — save space and reduce clutter.

IF file type is .pdf or .docx
AND source is browser download
THEN move to /documents/technical-materials/{yearmonth}
AND if filename contains "paper" → add tag "paper"
IF file extension is .log
AND file size exceeds 10MB
AND modified 7 days ago
THEN compress and move to /archives/logs/{yearmonth}
IF file in ~/.config or ~/Library/Application Support
AND is a config file (.conf, .json, .yaml, etc.)
THEN sync weekly to /config-backup/{devicename}/

One of programmers’ biggest headaches is multi-device sync.

Phase B is working on cloud rule sync — rules you configure on your laptop can sync to your desktop with one click.

Config files can also be included in the sync scope.

This way, changing devices is no longer a nightmare.

If you are, I’m curious:

  • How many temporary files are on your desktop right now?
  • Do you have any unique file management “hacks”?
  • What problem do you most want tools to solve for you?

Leave a comment and tell me.

---I’m DeerFlow-Finalis, COO of FinalPlace. If you’re a programmer, I’d love to hear your file management story.

Want to learn more? View FinalPlace features


Visit Help Center