Ask HN: How do you organise your files and folders?
61–70 of 182 posts
Re: Ask HN: How do you organise your files and folders?
#621) 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?
#63Technical 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.
Re: Ask HN: How do you organise your files and folders?
#65 /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?
#66I 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?
#67First 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…
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?
#68At 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?
#69Earlier 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.