Live data from Hacker News

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

news.ycombinator.com

41–50 of 182 posts

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

#42
Mostly in Dropbox

  - Apps                      
Anything with Shared-* signals to me that anything I file into those folders are visible to others

Sometimes there are levels of access for the company (all employees get the main `Shared-` folder and then the key personnel or owners get `Shared--Private`

---

Then for working

  ~/Projects        
* All downloads from browsers go directly to Desktop and they get filed

* Photos go to Google Photos https://photos.google.com

* No real music library to speak of so can't help you there, mostly Pandora and Overcast

* The Brother MFC2740 scanner uses an upgraded firmware (so you can send an email directly from this scanner without the need for a computer attached to it via SMTP which is the most awesome thing), then it goes to a Zapier email-to-dropbox, then goes to the Inbox folder above

* I also create a "list" in amazon of everything I have bought (even not from amazon) so I can find product manuals easily

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

#43
My folder structures mirror the various git remotes I use. At the root of the structure, I have github, gitlab, bitbucket, etc folders. The contents of each mirrors whatever repos I'm working on for each.

All my personal stuff is backed by a set of repos in my personal gitlab account. I have one for references, another for notes, another for my personal log, another for documents, one for secrets (encrypted using blackbox), and one for machine configs. I commit and push these as I add things out of habit, but I might do something more automatic eventually. I've also thought about building automation to maintain ToCs and changelogs and stuff for some of this and executing it on gitlab ci.

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

#44
Context >

   Programming: Language > Project_Name
   Writing: Month > Article_Title > 
   Resume: Year > 
   Professional: Company > Notes
   Photography: Year > Month > Photos
   Videography: Year > Month > Videos
   Music: Artists > Albums (or mixtapes) 

None of this is on my desktop, I either use finder or terminal to get through them.

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

#45
Documents/Current/ is a symlink Documents/Months/2020-06/.

Anything that survives more than a month gets promoted to Documents/Projects, with symlinks to that location from any month-directory where I work on that project.

If anything, it is an excellent way, ahem, to discover FreeBSD symlinked directory arcana. The “..” directory never seems to be what I expect it to be.

Everything is rsyncd to NAS:/tank/Backups/ which I never use except as backup space. The NAS and all its ZFS snapshots are backed up to rsync.net’s CH store, with borg, from which I have never had to restore in anguish or anger.

When I run out of space on my laptop, I log in to the NAS and move data from /tank/Backups/ to /tank/Archives/ then delete the data on my laptop. The Archives gather dust alongside the last 30 years of data that has been growing in size linearly in my mind, and exponentially in reality. I hope they may be of interest to someone one day, as my forebears papers have been to me.

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

#46
~/notes/ folder for org-mode notes (and other text based notes)

~/notes/journal.org dumpster for my personal day-to-day. from random quotes, to bizarre thoughts i had, and even code snippets (e.g. extract all image links from a page is one that i seem to keep going back to...)

~/notes/journal.work.org same thing as journal.org but for work related stuff. the layout is slightly different: it's a flat structure where each headline is top level (the personal journal is tree-like with year->month->day style nesting). it contains mostly technical details, notes on tasks and various bugs/TODOs.

~/code/qqj/ for my personal repos. i usually keep a "journal.org" style file in each private repo, detailing my work, thoughts, possible directions, snippets i found useful/interesting etc.

~/code/ for work repos

~/code/ everything that is not personal or work related goes straight under "code". if i'm learning a new language i'll create a ~/code/ dir and clone into it various repos to experiment with and learn from.

~/sync/ is like a dropbox dir that is synced across all machines. only the must have stuff that is lightweight.

~/cloud/ for cloud backup (exists on this machine only, not synced to other machines)

~/devon/ for devonthink databases (they are also synced to ~/cloud/ via devonthinks internal sync thing). most of my files i save in devon databases (i usually have two open: one for work and one for personal stuff, like interesting articles i find etc. but whenever i'm working on a personal project that requires extensive research and document collection i open a database for it. most of the documents are webpage captures in pdf format, pdf files (like papers and articles), and images. if it's text-based it's most likely under ~/notes/.

~/Downloads/ is for... downloads and pretty much everything else that is transient in nature. it's a big dumpster i clear out every month or two. every time i clean it i also empty the trash (before deleting current generation of Downloads). it's not automated because i like reviewing what i've been up to, and seeing how bad my adhd was this month :)

~/tmp/ is for files that can be deleted at any time (so... super transient files i guess). i'm not using /tmp/ because i want control over when they are deleted.

~/muhmusic is for offline music :) although i barely use it these days

~/ also contains a bunch of other directories that are synced to cloud backup, like a lecture series i downloaded from youtube. i prefer to have "big" meaningful collections like a lecture series under home dir because i'm much more likely to notice them when doing random stuff, and look into them.

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

#47
post #12
post #10

~/Documents/$(YYYYMM)/ mostly for personal stuff. I have a Makefile rule in ~/Makefile that moves ~/Desktop/* there periodically. I also have ~/Documents/eeqj/$(YYYYMM)/ for my revenue-related files, and ~/Documents/eeqj/$(YYYYMMDD).$(PROJECTNAME)/ for specific projects.

Could you share that makefile? That sounds exactly like how I'd like to manage my desktop.

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

Some usage described in my blog post that first referenced it:

https://sneak.berlin/20191011/stupid-unix-tricks/

PS: How do I contact you? Send me an email.

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

#49
`~` contains these dirs: `inbox, lib, code, proj, org, .archive, .sync`

Things arrive in inbox, and get sorted into lib or code. Org contains notes. Files are symlinked from lib/code/org into proj &/or .sync.

Lib folder structure is kinda similar to how 4chan is broken down, plus an irl folder for important shiz.

PDFs have reasonably descriptive titles or at least the DOI. I recommend ripgrep-all for document search.

Tried library systems like Dewey and they're a good way to hide your files from yourself. Single folder plus search tools and non-terrible titles (terrible titles are deemed acceptable only in the inbox), then symlinking out into project folders makes more sense to me.

The code folder also has a `gh` folder for GitHub projects I'm checking out.

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

#50

Last summer I worked at an art gallery. It was my first time working on a shared file server and it was a mess—except for the exhibition files. There was a main “exhibitions” folder. Inside of that was a folder for every show in the gallery’s history. Each of these was named starting with the year of the show + another number indicating whether it was the first show of the year, or the second, etc. There was a somewh…

I like that in general, but I would suggest not to use dates in folders - the date is automatically in the file properties of the folder so you can sort by it.

By all means keep a number in the folder name, if the number is meaningful, but also keep a human understandable name in there. That helps when you can't remember if it was the fifth show or whatever, maybe you can remember the name when you see it.

Or maybe I am missing something?

Anyway I try to organize my files kinda like that, but use my Downloads folder as GTD inbox: nothing is meant to stay there.

Post reply on HN