Live data from Hacker News

Ask HN: How do you organise your hard drive?

news.ycombinator.com

231–240 of 255 posts

Re: Ask HN: How do you organise your hard drive?

#231
post #146

- bunch of random files in ~/Desktop/ - more random files in ~/Desktop/old/ - more more random files in ~/Desktop/old/old/... - real stuff in ~/dev and ~/Site/ - a mix of important and unimportant files in ~/Downloads/

Doing exactly this but from time to time I move my old desktop folders in a backup folder with a date. But now I have so many in there with duplicate files. I'm sure I'd win a lot of disk space by merging/deduping those folders.

This is my problem right now. I'm trying to clean this all up and, while there's tools to find dupes, they're still cumbersome.

I need a tool that will look for duplicate directory structures.

Re: Ask HN: How do you organise your hard drive?

#232

Earlier quoted context omitted.

How do you handle old files, if you don't mind me asking? My document directory has the year at the root level, i.e. ~/Documents/2018/billing/projectname which is nice in so far that you don't have to scan through files and folders that stopped being relevant.

Because the ID is incremental, old stuff naturally sorts itself. For example, I have '16 Travel' as a category. I make a new JD number for each trip I take and create Finder & email folders. Order details and PDFs tend to live there. 16.01 was, let me look ... a trip to Perth in 2012. And my latest, 16.31, just happened. But of course my '16 Travel' folder sorts like: 16.01 Trip to Perth to see Bart 16.02 16.03 ... 1…

That's a very cool actually, I hadn't even considered it being that simple. This has me convinced to give this a shot soon with a new new system. Thank you!

Re: Ask HN: How do you organise your hard drive?

#233
post #133

Earlier quoted context omitted.

I called my version of this ~/sandbox.

Yeah I like this too. Perhaps I use playground/ for when I am in a good mood and sandbox/ when in a bad mood.

playground/ when you expect things to be clean

sandbox/ when you're ready to get messy

Re: Ask HN: How do you organise your hard drive?

#234

Earlier quoted context omitted.

I didn't criticize anyone. It's a simple fact that most people don't take the time to sit down and understand the systems they use. I don't understand how recognizing that makes me arrogant. Recognizing there is a disconnect is the first step towards creating better systems and educational material for those systems. > Just to be clear, you're talking about a de facto standard and nothing more. It doesn't get much mo…

> I didn't criticize anyone. > Accessibility is very important to me, and I'm not simply disregarding the vast majority of users. Fair enough. The language you used did feel like it was intended to be a criticism (re "It's not Mozilla's fault that there are people out there who never bother to learn their computer") because the common complaint techies seem to make about people who are less computer literate is that…

> At risk of degrading the discussion, technically I was the one who highlighted the problem in the context of creating better systems. You then went on to say it's not system’s (Mozilla’s) fault.

I'll clarify that point. The thing is that there is a deficit in computer literacy education when it comes to learning some basic portable operating system conventions. The Downloads folder is one of those conventions. Tools are supposed to work together and not step on each others' toes. This allows compartmentalization of problems and scope so that the workload can be shared.

In the case of Mozilla/Google making it the default to use a convention set by its parent system, the OS, that is exactly what they are supposed to do. It truly isn't their problem if users aren't familiar with this convention, and any onboarding about the Downloads folder shouldn't need to happen in the browser and thus be replicated many times by any program that uses the Downloads folder, but instead the onboarding needs to happen from the OS side.

So I'm not dismissing the casual user who hasn't bothered to read the directories listed in their home directory and do some very basic critical thinking. They aren't stupid. They're just afraid of their computer more than anything else, like a car. They're afraid they could break something. But the problem is their OS's to solve, not their browser.

Re: Ask HN: How do you organise your hard drive?

#235

Earlier quoted context omitted.

Yeah I like this too. Perhaps I use playground/ for when I am in a good mood and sandbox/ when in a bad mood.

playground/ when you expect things to be clean sandbox/ when you're ready to get messy

+2 Yeah that is so much better.

Re: Ask HN: How do you organise your hard drive?

#236

Earlier quoted context omitted.

> I didn't criticize anyone. > Accessibility is very important to me, and I'm not simply disregarding the vast majority of users. Fair enough. The language you used did feel like it was intended to be a criticism (re "It's not Mozilla's fault that there are people out there who never bother to learn their computer") because the common complaint techies seem to make about people who are less computer literate is that…

> At risk of degrading the discussion, technically I was the one who highlighted the problem in the context of creating better systems. You then went on to say it's not system’s (Mozilla’s) fault. I'll clarify that point. The thing is that there is a deficit in computer literacy education when it comes to learning some basic portable operating system conventions. The Downloads folder is one of those conventions. Tool…

I get the point your making but unfortunately you're completely wrong on all technical details described:

1/ The downloads folder wasn't an OS convention that browsers adopted. It was actually the reverse. Some browsers created that folder and defaulted there and then Windows later adopted it to it's portfolio of configurable user directories (like the Pictures folder). I was a heavy Windows developer at that time and had been working on my own 3rd party browser so I remember that transition well.

2/ Also there is no such convention on Linux nor the BSDs. Some desktop environments such as KDE will copy the conventions used by Windows but KDE has always been influenced by Windows's classic desktop shell (explorer.exe) so it's little surprise that KDE will come with a Downloads directory. However there are other desktop environments and standalone window managers won't create a downloads directory and thus browsers are back to creating one themselves. Sure you can argue that Linux is fragmented so doesn't count but the same is true for BSD and all the desktop "hobby" OS's I've used too (aside ReactOS - but again it aims to mimic Windows). So this isn't a universal cross platform convention as you described but really more of something that just Windows (and possibly OS X?) plus a few mobile OSs have adopted. However if your sample size just consists of browsers on Windows then I'm sure "Downloads" would feel like a standard to you.

3/ This is also limited to mostly just the big desktop browsers (Firefox, Chrome, etc). Many smaller browsers - and particularly ones not based on Chromium / Blink - don't follow that convention. So again, if you're only comparing Chrome, Firefox and possible IE and/or Edge then I could see how you might consider this a standard but the reality is that's not the case.

When you consider that there are as many - if not more - exceptions as there are instances that follow that convention, it really becomes hard to even call this a de facto standard; it's certainly not universal across all platforms (browsers nor desktops) like you argued it was and it wasn't even a convention which Microsoft created as an OS standard which browsers were forced into adopting.

This is why I keep pushing back when you say "standard". It isn't. It's not standardised and it's not even de facto.

4/ You argue it's the responsibility of the OS to educate people where stuff gets downloaded to but that's just passing the buck. Yes Windows (for example) could make stuff more discoverable for sure but it's the browser which the users are using to download their actual files on so that's the browsers UI they're interfacing with and the UX they're experiencing when the confusion hits. You wouldn't blame the oven for cooking a bad meal if someone misread the instructions in a cook book. Blaming the OS for a bad UX in the browser is equally misguided.

However I do agree with you that some users are afraid of their computer but then you are just reiterating the argument I opened this tangent with.

Re: Ask HN: How do you organise your hard drive?

#237
post #26

All downloaded files go to huuge ~/Downloads. Files to be preserved are then moved to more appropriate location. From time to time I delete oldest and biggest files from Downloads. Photos and videos go to Personal folder organized by year and event (ie. 2018/Cristmas). Web development is in /var/www, /var/node per-project. NetBeans projects in default location Company stuff to $companyName/documents $companyName/proj…

Out of all other comments in this thread, my file structure matches yours most, except company. My Dropbox is about 30gb, it has Apps for all webapps saving data to Dropbox from IFTTT, android, etc. Documents has all documents with subfolders like 01 Education, 02 Work, 03 Passport, 04 Indian etc. Then Photos, etc.

Re: Ask HN: How do you organise your hard drive?

#240

One thing that changed my life is z, a utility to navigate easily to arbitrary directories based on frecency. Makes dir structure a bit less relevant; with z the distance between any two dirs is effectively constant. https://github.com/rupa/z By project, by tool? What do you do with pdfs and reference stuff, surely not Dewey Decimal? ~/proj ---> all my current projects and stuff i've pulled down from GitHub so I can…

I thought 'freceny' was a typo until I clicked the link, but sadly the man page doesn't really explain what it is. Could you maybe give a few examples of how you might find something eg. using find(1), and then how you could find it using z?

Frecency is a portmanteau of "frequency" and "recentness."

I don't know the exact scoring mechanism but potential matches are scored by both frequency of access and recentness of access. Firefox uses this for matches in the URL bar, and I think other browsers do as well.

For `z`, as an example, suppose I have two paths:

~/projects/fun_stuff_1

~/projects/fun_stuff_2

`fun_stuff_1` has been accessed 100 times, but all of those accesses were over two years ago.

`fun_stuff_2` has been accessed only once, but it was five minutes ago.

So if I type `$ z fun_stuff` or even `$z fun` it's going to rank `fun_stuff_2` ahead of `fun_stuff_1` in the possibilities. In practice, while obviously not perfect, frecency tends to match the user's intent a surprisingly high amount of the time... a good frecency implementation is a delight for the user, honestly.

Post reply on HN