Live data from Hacker News

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

news.ycombinator.com

61–70 of 182 posts

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

#61
I try to make sure every name is clever enough to make me hate myself but also appreciate my wit when I try to find it in the future. Versioning is achieved by banging on the keyboard when saving the file, it's easy to tell how recent something is by the length of the 'asdljkhaoi' appended to the filename. Every once in a while I throw everything into a folder called "backup" and start fresh. I believe they go 8 deep now.

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

#62
>> What do you do with pdfs and reference stuff?

1) Root: everything is stored on a separate drive, that in turn is backed up to a NAS, that is itself backed up to another offsite NAS.

2) Sub: inside of root is several folders representing major concepts like development, images, software, and so on. They can be multi-level deep, like "development/languages/C++).

3) Topic: inside of the sub is everything related to this topic. So, could be a project if it lives under programming, a software product if it lives under "network", and so on.

4) Search the above using a tool like FileSearchEX.

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

#63
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 folder: subfolders for various IT systems and lots of related data in them

Projects folder: topic/project name mostly, sometimes with subtopics

Documents: YYYY/topic for things that I can find by year later, like taxes, licenses. Also used as longterm archive for projects.

Software/repo for various repos that don't fit in other categories (not too happy with this)

/opt/venvs for lots of python virtual environments.

Pretty much everything is in a mirrored ZFS pool with auto-snapshots (for rewinding in the event of accidental deletions) and occasionally dumped to external drives put in fireproof/floodproof safe (and taken offsite).

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

#64

>> surely not Dewey Decimal? Close. https://johnnydecimal.com/ Rather, I'd like to do implement this. I have my own homegrown system, with too many idiosyncrasies to share.

That is absolutely bonkers I love it. I'm not sure I have the staying power to implement it but I'd like to.

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

#65
The easiest way is to just show you. I'm mostly a manager unit these days so I have something similar to the following:

  /Team 1 #a team I manage
     /Program A #Some program for a customer
        /Project 1 #individual project for that program, might be a tool, a document, etc.
           /subfolder #various things organized as makes sense for the project
           /subfolder
        /Project 2
           /subfolder
     /Program B 
       /FY #each Fiscal Years, I move everything
          /Project 1
             /subfolder
          /Project 2
             /subfolder
             /subfolder
       /Project 1
       /Project 2
          /subfolder
          /subfolder
  /Team 2 #some older team I used to manage or belong to
     /
  /Team 3
     /
  /R&D #various research programs
    /FY
       /Project 1
          /subfolder
       /Project 2
          /subfolder
          /subfolder
    /FY
  /Business Development #gotta get new customers!
    /Customer 1
       /Contract Effort 1
    /Customer 2
       /Contract Effort 1
       /Contract Effort 2
    /
  /Staff # any documents I need to produce for my staff
    /Staff 1
    /Staff 2
    /
    /PreviousStaff # any staff who are no longer under me
       /Staff 1
       /Staff 2
  /Library # I point ubooquity at this
    /
  /Personal # person employment documents
  /Corporate # corporate issued materials
     /Security
     /Policies
     /
This works for me as I can usually find something within a few seconds because it all has some semantic meaning to me that works with how my memory works, and I have about half a dozen years of intense work plowed into this structure. That being said, more and more of my work is ending up in various enterprise Office things like Sharepoint, Teams, etc. Code, other documents for sharing and such stay in their appropriate Gitlab repos, Confluence/Wiki pages.

tbh, this makes it significantly harder for me to find old documents than with my system -- raw search just isn't good enough.

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

#66
Side note, years ago I organized decades of hard drives, this found clips of my baby siblings playing with microphones and old video games.

I went through literally every folder. Took probably 20 hours.

Wondering if I could simplify this with python. Eliminating generic program files, but keeping all user data. The goal wouldn't be perfection but to take that 20 hours and turn it into 5 hours.

Does this exist in any capacity right now?

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

#67
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…

This is also my approach. I create one dir called myuserfiles and one dir called myuserdotfiles. The main home is used as a temp that gets sorted and docs/pics/videos get put in the correct dirs every few weeks.

One of the things I do that others might find interesting is that anything not being worked on in my gitprojs dir is sent back to the appropriate ~/myfiles/progs/$language dir. So all my ansible stuff is in one place, all my bash scripts are in one place, etc.

Also while I am an emacs person and I like dired, I have converted to ranger as my file manager and it is quite awesome.

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

#68
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)

Try using Hazel (macOS-only) to auto-file stuff for you based on whatever naming conventions or file extensions you want. It’s amazing.

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

#69
post #47
post #12

Earlier quoted context omitted.

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.

Thanks! I'll send a mail across

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

#70
shell darwinism. I toss files onto the Desktop, and have a cron that runs every night, deleting files older than 30 days. This knife-in-the-steering-wheel approach leaves me constantly scrambling to make sure my files are all properly curated into a more suitable hierarchy, of which is not interesting.
Post reply on HN