Live data from Hacker News

Ask HN: How do you organise your files and folders?

news.ycombinator.com

161–170 of 182 posts

Re: Ask HN: How do you organise your files and folders?

#161
post #125
post #84

Save files to my desktop. When it gets too messy, I throw everything in a folder called "Cleanup". Repeat. When it gets messy again, I rename the Cleanup folder to Cleanup_ , then throw that and everything else in a new folder called "Cleanup". I'm about 7 deep at the moment.

I was discussing browser tabs with others. I usually middle click a bunch of articles on HN, then go read all the tabs until there are none left. I close by browser often. But one of my friends, he keeps every tab forever. He always has everything at his fingertips, but a reboot or power loss is a crisis. So I discovered talking to other that MANY do that too. hundreds of tabs is not as uncommon as you would imagine.…

Many browser tabs are useful because Firefox allows for searching their titles using the address bar.

Similarly, keeping all emails in the Inbox starts looking useful once you have a nice to use filtering client.

I suppose holding a flat file structure will start making sense when a good filesystem-wide metadata search becomes available.

Sometimes I wish WinFS didn't die. That future could have meant the end of crappy ad-hoc directory structures.

Re: Ask HN: How do you organise your files and folders?

#162
post #84

Save files to my desktop. When it gets too messy, I throw everything in a folder called "Cleanup". Repeat. When it gets messy again, I rename the Cleanup folder to Cleanup_ , then throw that and everything else in a new folder called "Cleanup". I'm about 7 deep at the moment.

I see you have a very structured approach. I usually have to look for the stuff I need in Desktop\Stuff\Backup\oldStuff\old\

Re: Ask HN: How do you organise your files and folders?

#163

Photos: In folders named "YYYY/MM.N Descriptive event title" like "2019/05.1 Birdwalk with Stephanie". This really helps me find things later. Technical library: Academic Topic/subtopic/ then pdf title Music: I use beets now, which imports and organizes everything Household: Accounts folder, Mortgage folder, Appliances folder with subfolders for each appliance containing manuals, photos, and maintenance info. Systems…

Are your venvs themselves the git repo too? Sounds like they're not, because you have a different project folder. What's your rationale for now putting the venv inside the project and ignoring it? À la node_modules. I've shifted to this after years of your method and like it. I do hate .gitignore expanding arbitrarily. But that's life.

I also put virtualenvs in a single centralized location (~/.virtualenvs), and manage their contents via Poetry.

The main reason is that I sync my Git projects via Tresorit (“encrypted Dropbox”). This lets me switch computers without committing and pushing code that is not “ready”; makes it easier to sync all projects I work on to my backup server; and lets me copy around project files that I don’t want to commit (e.g. messy WIP and TODO notes).

This doesn’t work well with virtualenvs inside a repo, because (i) the virtualenvs are not portable, and (ii) syncing a virtualenv is slow. Instead, I sync a Poetry lock file, which makes it trivial to recreate the “same” virtualenv on other machines.

Re: Ask HN: How do you organise your files and folders?

#164
post #33

First thing to do, is to create a new "homedir" inside the OS-provided homedir. I want my homedir to be immediately backup-able, and unfortunately most OSs spam the system homedir with various nonsense, e.g. applications (on Mac, Chrome installs (or used to) in `~/.ApplicationData`, on Linux, there's various package managers' binary caches, ...). I used to name this `home` but next time I'll name it `my`, less confus…

There’s stuff in the normal homedir you want to back up.

Better to maintain an exclude list:

https://git.eeqj.de/sneak/hacks/src/branch/master/osxbackup/...

https://git.eeqj.de/sneak/hacks/src/branch/master/osxbackup/...

Re: Ask HN: How do you organise your files and folders?

#165
I'm on MacOS, so some stuff I keep in the folders that come with an account by default.

~/Desktop/: nothing here, don't like the clutter.

~/Documents/: mainly just files stores by applications, I don't intentionally put anything here

~/Downloads/: self-explanatory, but I try to keep this clear by either deleting, cataloguing, or short-term storing everything in here.

~/Downloads/stored/: a sort of temporary "not important enough to catalogue, but I'll maybe use it more than once so I'll keep it around for now" folder.

---

~/Sites/: websites that I'm working on, generally as git repos so not backed up to cloud

~/Repos/: all my other git repos not in ~/Sites/

~/Repos/external/: git repos that I don't own but that I've forked

---

And then the big kahuna, where I actually store everything* that has ever been created by me digitally, which is backed up to cloud...

~/Cranium/: the root folder, which has two sub-folders

~/Cranium/cortex/: the long-term storage, well-organized "catalogue". Everything is sorted by categories and sub-categories, etc., etc. The categories right now are – archive, audio, coding, databases, design, dotfiles, edu, finance, folks, games, gimmicks, image, jobs, modeling, projects, reading, records, sparse, text, video, writing.

~/Cranium/cortex/dotfiles: This sub-folder deserves an honorable mention, because being on Unix I have a lot of dotfiles (config) that normally live in my home folder. I wrote a program that, whenever a new hidden dir/file is added to my home directory, it automatically moves it to this folder and then symlinks it back into the home directory. This makes it much easier to start up new systems and keep my settings / profiles backed up.

~/Cranium/hippocampus/: this is basically what other people would normally have on their desktop. Stuff that I generally want to keep around, but is either a very active project (and therefore want to be able to access quickly without having to click through multiple levels of organization) or is otherwise changing/ephemeral so I do not want to spend the time cataloguing these things in "cortex", lest the content and therefore desired structure changes. When something in here winds down, I either delete it or move it to "cortex".

And that's about it.

* I've started to move a lot of content into my note-taking service, as over the last couple years I've found a pure directory structure is pretty restrictive at the end of the day, even if you have spent a lot of time coming up with a flexible structure that suits you (as I have).

Re: Ask HN: How do you organise your files and folders?

#166
Great ideas all around here, definitely stealing some!

Personally, there was a time where I grew a little fond of numeric-based naming. It allowed for quickly tabbing between directories, easy separation and predictable ordering (eg. 1xx is for clientA, 2xx for clientB, 9xx is for miscellaneous files etc).

Fun story of how that came up; at some large project they were using Sharepoint for everything. From specification documents, to invoices, to code backups and JAR files.

I never figured out whether it was Sharepoint translating for different locales or people using Windows machines different languages, you'd get things like "My Documents", "Mes documents" "Τά Έγγραφα Μου" and "Eigene Dokumente" all mangled up together, which was a nightmare to navigate in, both in speed and understanding, so the this numeric-based naming was an attempt to put some order to that chaos.

Re: Ask HN: How do you organise your files and folders?

#167

Earlier quoted context omitted.

> I'd love something self-hosted You should try PhotoStructure. Self-hosted, runs on desktop or headless or docker, and auto organizes your photos and videos into datestamped directories using whatever pattern you want. Disclaimer: I'm the author https://blog.photostructure.com/introducing-photostructure/

Thank you for the recommendation. Looking at my Downloads folder, it seems I tried it out about 6 months ago, very shortly after my son arrived. I imagine that may be why I never gave it much of a chance. I look forward to revisiting it.

Neat. Ping me if you have any issues (hello@photostructure.com), please. Also: this release is coming soon: https://photostructure.com/about/v-0-8/

Re: Ask HN: How do you organise your files and folders?

#168
~/tmp - scratch folder for WIP stuff I don't care if I lose

~/dat - downloads and other temporary data

~/vir - virtual machines

~/arc - everything backup worthy

~/arc/dot - dotfiles, in "stow" format to easily set up on a new machine

~/arc/prj - projects, mostly software. Usually symlink to ~/prj

~/arc/doc - documents, organized by life-stage, project, company (e.g. "finances", "$company")

~/arc/img - pictures/videos

~/arc/dat - backup worthy software, keys, and other "data"

~/arc/res - research projects. Could go under prj/ I suppose.

~/arc/eml - IMAP email snapshot

I use Zotero and Mendeley (historical) for PDFs. I have a folder in ~/arc/dat/books for ebooks and the like.

Re: Ask HN: How do you organise your files and folders?

#169
post #125
post #84

Save files to my desktop. When it gets too messy, I throw everything in a folder called "Cleanup". Repeat. When it gets messy again, I rename the Cleanup folder to Cleanup_ , then throw that and everything else in a new folder called "Cleanup". I'm about 7 deep at the moment.

I was discussing browser tabs with others. I usually middle click a bunch of articles on HN, then go read all the tabs until there are none left. I close by browser often. But one of my friends, he keeps every tab forever. He always has everything at his fingertips, but a reboot or power loss is a crisis. So I discovered talking to other that MANY do that too. hundreds of tabs is not as uncommon as you would imagine.…

My Windows desktop will routinely be using over 20GB of RAM with just Firefox with a few tabs, not even a dozen, Discord, and Teams running. It's boggling to me that people can run hundreds of tabs, even though I have definitely seen it. Watching them fumble around trying to find the right tab is also hilarious. It's like a roulette game.

Re: Ask HN: How do you organise your files and folders?

#170

Earlier quoted context omitted.

Thank you for the recommendation. Looking at my Downloads folder, it seems I tried it out about 6 months ago, very shortly after my son arrived. I imagine that may be why I never gave it much of a chance. I look forward to revisiting it.

Neat. Ping me if you have any issues (hello@photostructure.com), please. Also: this release is coming soon: https://photostructure.com/about/v-0-8/

Thank you. Also, regardless of whether I end up using this, this looks to be an excellent and beautiful application. Well done!
Post reply on HN