Live data from Hacker News

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

news.ycombinator.com

21–30 of 182 posts

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

#21
post #15

At this point, I've decided 75%+ of stuff is transitory and doesn't deserve the time to be filed into a hierarchical local file system, so I just leave it all in Downloads on OS X. Github, Overleaf, Google Docs, and email has all the critical stuff. And of course I have full backups for years. This horrifies some people, but has worked well for me for about 5 years.

Similar strategy: I treat my desktop as a temporary workspace. Anything transient goes there, and a cron job clears out unused files automatically:

    find ~/Desktop/ -atime +3d  -maxdepth 1  \( -type d -o  -type f \) -exec trash "{}" \;
If I really need something that gets deleted, I can go to my backups.

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

#22
Basically dump everything in ~/Downloads and then a couple of scripts to archive it off to ~/doc/YYYY-MM every month, then every now and then I might sort that into ~/archive/home/doc and ~/archive/work/doc.

Got a few context-specific directories; ~/src, ~/screenshots, ~/notes.

Search using Finder, find or ripgrep.

I wrote a bit more about it at https://www.garethrees.co.uk/2019/11/24/filesystem-organisat...

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

#23
1) I collect a bunch of Very Important Documents and Files. I maybe try to organize them.

2) At some point (days in...) this falls apart.

3) I get sick of not being able to find new files and throw everything in some folder ('archive', 'shit', whatever)

4) these end up on a hard drive in a drawer somewhere, eventually.

5) I go "man I need to throw away these old hard drives, better make sure there's nothing good on them"

6) I find the junk folders go "oh man good thing I didn't just toss this drive" and put the junk folders somewhere on whatever my current backup/mass-storage drive is ("uhhhh I don't have a good place for it, I'll just stick it here and go through it later to categorize everything, I'll just call this 'old_drive_stuff'" but of course I never look at it again).

7) At no point do I examine or use any files that land in any junk folder aside from maybe getting a brief "oh shit I remember that!" nostalgia trip on re-discovering them, before tucking them away again, not to be seen until I am once more clearing off an old hard drive so I can throw it away.

Incidentally, I think two things that might help with this are 1) not having to manually clean up filenames and metadata on every goddamn thing before I feel comfortable putting it in with my "nice" files (this is part of why files accumulate in a kind of "junk drawer", because I put off this work), and 2) some kind of easy "send-to" workflow to toss (especially downloaded) files to pre-defined categorized locations, ideally with both a very quick manual interface (not farther than two clicks away, or one CLI command) and an optional automatic one based on file extension. All configurable, naturally. Bonus for more complex filtering rules—like my mail inbox, really. Yeah I could write it but that's one more thing to carry around and another thing that would leave me helpless on machines that aren't mine, or aren't my main OS, or whatever. It should be built into the OS or file manager.

I also think there are lots of different kinds of files and handling them all the same isn't great. Ideally my editing-format documents would actually be a container holding an archive of "finished" versions of them (not just every time I've hit save, and certainly not a complete undo history or anything) so they all move around together and can't get separated. Same for photos, probably—keep an original and any edited variants I've made all in one file and only (and automatically) split them up (export one of them) when it makes sense to do so.

[EDIT] example of otherwise-good software that tries to do some of this organization for me on-file-open but fails at it: iBooks. There are two main categories of ebooks I open: those I want to keep around permanently, and those I just want to look at for a little while then I don't need it anymore, or that I want to keep around but strictly associated with some other files on disk. Opening a .epub adds it to my icloud-backed-up iBooks library every single time. This is perfect for books I want to keep but sucks for books I'm just opening for a second, because then I have to go delete them, or keep a second (probably worse) ebook reader around and understand both programs' features. I have two types of .epub, then, with different use cases and organizational patterns needed—I need an "add to library?" prompt when I open them. IIRC Calibre does something similar and can't be my only ebook reader for the same reason (which makes me want it not to be an ebook reader at all, just an organizer accessible through an open-with menu)

[EDIT 2] Oh it's just called "Books" I guess. Was it ever iBooks or did I imagine that? Whatever, point stands.

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

#24
I use a system I created called: Shelf, Desktop, Cabinet.

I use the 'shelf' folder to store all the files I use and reuse (usually, transform) at work. E.g. templates, stock photos, contracts, pieces of code etc.

My actual projects are sub-folders inside the 'desktop' folder. Metaphorically speaking, they are 'sitting on the desktop'. Folders are named like this: 'client_name - project_name'. Whereas 'client' can be anything like: 'me - learning Vue.js'

The 'cabinet' folder files completed projects should be no longer on my 'desktop'. I just move them into there, where they can be easily sorted alphabetically. But before doing that, I take elements that could be reused someday in similar projects, copy them into the 'shelf' folder and give them a generic name that I can easily find through a search.

edit: clarity (I guess...)

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

#26
An amusing aside: When I was in grad school, the university created a little pamphlet to help students answer the question: Should I get my own computer?

That such a question could even be asked, dates me. But one comment in the pamphlet still seems to ring true:

Don't expect the computer to organize you. If you have a messy desk, you will have a messy computer.

For me, search is how I organize my files, and yes I suffer from my lack of organization.

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

#27
post #15

At this point, I've decided 75%+ of stuff is transitory and doesn't deserve the time to be filed into a hierarchical local file system, so I just leave it all in Downloads on OS X. Github, Overleaf, Google Docs, and email has all the critical stuff. And of course I have full backups for years. This horrifies some people, but has worked well for me for about 5 years.

I could really use not a full download-to dialog on every save in my browser, but just a prompt for a very small set of download locations I've defined, possibly filtered by extension (.jpg -> 'photos_to_sort' or 'memes' or 'temp_junk' as my options)

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

#29
By context (Development, Personal, Business, References) on my personal machines and by project/customer on the work ones.

Right now, since I've moved about in the company a bit, and still have an archive of work from my previous role, that means "My Org/Customer Deliverables/ACME/Coyote Dynamite Project" and whatnot.

All my deliverables are named "YYMMDD Thing that got done.format" inside those folders (and yes, I still version some of these manually, because they are easier to compare side-by-side).

I do that because in Spotlight it is trivial to start typing the approximate date of what you did by memory and (in the past, before macOS became hopelessly bloated) I got to any important file in less than 2 seconds.

(Today, of course, Spotlight is useless and takes up to 30s to display anything of consequence.)

Reference stuff goes into folders by topic - I usually file whitepapers and presentations separately, because I retrieve them in different contexts (so if I need to re-use something, I'll go into "Presentation Resources/Infrastructure Automation" and that sort of thing).

Most project work, however, ends up on Teams/Sharepoint/whatever the customer wants, and teamwork patterns vary _a lot_, so I'm very dependent on searching for stuff anyway.

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

#30

An amusing aside: When I was in grad school, the university created a little pamphlet to help students answer the question: Should I get my own computer? That such a question could even be asked, dates me. But one comment in the pamphlet still seems to ring true: Don't expect the computer to organize you. If you have a messy desk, you will have a messy computer. For me, search is how I organize my files, and yes I su…

> Don't expect the computer to organize you. If you have a messy desk, you will have a messy computer.

Nicely put. This has been the biggest invisible wall whenever people sing praises of some particular organizational tool. It’s easy to learn the tool if one has a clear notion of “legibility” to impose on data and processes, but that organizational clarity seems to be much harder to pick up. Nobody really talks about that, and I suspect it’s also a much harder thing to communicate as it gets close to the core of one’s perspective towards knowledge and activity.

I also wonder whether there’s some tradeoff in being legibly organized, and seeing liminal possibilities.

Post reply on HN