Live data from Hacker News

Ask HN: How do you keep your files organized on macOS?

news.ycombinator.com

91–100 of 143 posts

Re: Ask HN: How do you keep your files organized on macOS?

#91
I find virtually every taxonomical system insufficient, whether it's a folder hierarchy, tag cloud, etc. Because of English's profusion of synonyms (on top of necessarily murky category definitions for the world, generally), finding a consolidating duplicates is its own war of attrition with myself. So I mostly store things in a handful of very broad topical folders and let mdfind (Spotlight) do all the heavy lifting of finding things I need. The filesystem hierarchy isn't “clean” in this case, but it doesn't matter because I rarely need to rely on it for finding what I'm looking for.

This system does not lend itself to concordance building, browsing, or evincing topical relations, but I'm rarely needing that outside the domain of a particular use case. So if I'm researching for a paper, for example, I use Zotero to map out connections between bibliographic references. It's a more constrained realm where tag management is less arduous.

Re: Ask HN: How do you keep your files organized on macOS?

#92
I have some network folders mounted to ~/shares using sshfs that are automatically mounted and remounted with a cron job.

On my desktop I have _Process as a working folder for stuff that is 100% temporary. I clear this folder every day or so. This is purely for those one-off things like an image I'm posting to a site, music that I'm tagging, etc.

I have a second folder, _Projects that is for current projects -- stuff that I've 'checked out' of my NAS. This folder is automatically backed up every day regardless, but I also sort the files and clear out the auto-backup folder once its been sorted.

Every project folder has its own _Process folder that has all of the temporary working-files that I can later delete, but will need until proofs are sent off. This folder will have any notes, fonts, images, etc that the client sends.

This setup isn't fancy by any stretch, but it gives everything a home. When I start a new project I start off with mkdir -p ProjectName/_Process and fill that up first. I also rename everything that is sent to me so the file names make sense.

[1] https://formulae.brew.sh/formula/sshfs

Re: Ask HN: How do you keep your files organized on macOS?

#93
I mostly use Linux, but I use a terminal 99% of the time, so it's irrelevant. I have the same setup on a Mac.

I have a few top-level directories, and a little structure beneath that — little enough that I remember most of it. My home computer directories are Code, Documents, $EmployerName, Media, Music, Photography, Temp (excluded from the backup), Web.

Yes, those are capital letters. I think they're neater, and it doesn't slow me down since I have several Zsh settings and functions to navigate quickly:

ls ~/d/t/p.j → Completes to ls ~/Documents/Travel/Passport\ scan.jpg

This was configured using the zsh "compinstall" function – case-insensitive and partial completions.

cd ~w → Completes to cd ~/Web

This is because I've done: hash Web=~/Web

This is the least useful, but could be useful for people who like deep directory structures.

cd n-w → Completes to cd ~/Code/new-website

This is because I've done: export cdpath=( ~/Code ) It's important not to put too much in cdpath, as it clashes with the contents of the current directory.

emacs m/m-s/s/m/j/o/e/ → Partially completes to: emacs ~/Code/maven-project/maven-s/s/m/j/o/e/

with the cursor after the s, because there are two possible directories. I can type "" to see the possible completions, or type "u" since I know that will complete to

   emacs ~/Code/maven-project/maven-sub/src/main/java/org/example/
I also have shell function for quickly finding by filename:

  f () {
        echo "find . -iname \"*$1*\""
        find . -iname "*$1*"
  }
I'm also using the UK Dvorak layout. Either UK layout puts ~ in a nicer place, and Dvorak puts / and - in a nicer place, so although it's less effort that it might appear to a US Qwerty user to type these so much.

Re: Ask HN: How do you keep your files organized on macOS?

#95
In a big tree, no tags. It has taken a little while to figure out the shape of my life, but things now fit pretty nicely. I think the work of figuring out the one place where each thing fits is mostly valuable, not overhead. Having a deep tree allows me to incrementally organize files by pushing them partway down toward their final destination when I don't have time.

The biggest current challenge is all the tools that are trying to pull me away from a filesystem. Google Docs has pretty much been a disaster for organization, and I don't use--even for collaboration--unless I absolutely have to. Similarly, Evernote has lost its charm for me. I guess I'm in a minority here, preferring organizing to searching. It gets hard for me to make sense of old documents when they're out of context.

    - Documents
      - 1-Education
      - 2-Teaching
      - 3-Software-Engineer 
        - Unfold-Studio
          - unfold_studio
            - .git
      - 4-PhD
        - Research
          - Active-Projects
            - Text-And-Code
              - Studies
              - Publications
      - 5-Consulting
      - 6-Personal

Re: Ask HN: How do you keep your files organized on macOS?

#97
I tend to use top level folder structure of:

    - Documents
      -- 
      -- 
    - Repos
      -- 

I also make extensive use of a little rust tool I whipped up which tags file paths with user defined tags, which are then searchable: https://gitlab.com/zwick/genie

This allows me to quickly find all file paths that are tagged with for instance regardless of where they are all from within a terminal.

Re: Ask HN: How do you keep your files organized on macOS?

#98
post #6

Having some more context would be nice, but here's some tips as a web developer. * Don't save files on the desktop. * Create a Projects or Dev folder in your home directory and make a folder for each project. (For Web development, I use Laravel Valet which automatically makes a foldername.test vhost inside ~/Dev.) * My Downloads folder is very messy. I could probably set up a job to delete files older than 6 months,…

Another vote for Hazel. I also use Yoink, which is sort of a drag-drop shelf for files that you're trying to move from one place to another. Drag them to the Yoink shelf, go do some other stuff, then drag them off of the Yoink shelf to their destination. For screenshots and images I'm saving on the web, I no longer even allow them to save to the desktop. I perform the screenshot (or drag from browser), drag it from the new Mojave preview widget to Yoink, then drag them to the destination. They're never saved in Downloads or on my Desktop.

Re: Ask HN: How do you keep your files organized on macOS?

#99

In a big tree, no tags. It has taken a little while to figure out the shape of my life, but things now fit pretty nicely. I think the work of figuring out the one place where each thing fits is mostly valuable, not overhead. Having a deep tree allows me to incrementally organize files by pushing them partway down toward their final destination when I don't have time. The biggest current challenge is all the tools tha…

Slightly off topic, but I'd like to argue for keeping your information in (backed up) local-filesystem files in the first place. I work with collaborators at several universities. Google seems to be pushing defaults toward institutional ownership of documents. I can see why institutions would like that, but there's no way I'll make my long-term access to files dependent on someone else's permissions (or Google randomly, unaccountably deleting my account).

Re: Ask HN: How do you keep your files organized on macOS?

#100
post #94

Rather than worrying about the perfect file structure layout, I focused more on optimizing indexing and search via fzf. IMO it's a fantastic fuzzy finder for locating content on device via your terminal. https://github.com/junegunn/fzf

I love fzf. I recently discovered that installing a fast search tool like ripgrep makes fzf _way_ faster over large directory trees.

https://github.com/BurntSushi/ripgrep

Post reply on HN