by rubenbe · 2y ago · 0 comments
projects/
2023/
2024/
0000-something/
0312-other-project/
0419-hn-comment/
each year I make a year folder. And each project has a month + day prefix.
Sometimes I want long term projects to pop up on top, so I prefix them with 0000 (or only make the day 00).It is simple, works on any OS. Although on Linux I do have some helper scripts. And it is very easy to quickly make a directory and move files from downloads into this directory. Keeping the nesting only one level deep helps for the discoverability. (versus the YYYY/MM/DD pattern which uses an extra month level)
I have a top level dir where I usually have what I'm working on at the moment - think "this day" or "this week".
When it's time to archive it, outside that time window, I created a folder, using this format, for example for today:
041924
I move all the files I created on that day into there.
As a person with a typical human lifespan, I see no need to use a "2024" string - I don't think I'll live to see 2100, and anything before 2000 isn't relevant. "24" is just fine.
And that's it. Time keeps rolling on, so the number of 'archive' folders keeps increasing, but they're small in size and easy to locate.
This works really well when you're creating not-that-unique standard files every day, btw, which is my use case.
I can accept YY instead of YYYY, but surely YYMMDD is preferable due to sort order.
projects/ | 01.01.2017
something/ | 01.01.2024
other-project/ | 01.01.2023
hn-comment/ | 01.01.2022Demo a sync program and find that all the creation dates have changed to today!
This has led me to formally maintaining significant metadata in the filename, for certain kinds of files; everything else gets lost or diverges. For instance, a book file might be named `Title [a=Jim Smith; isbn=9781234567890].pdf`.
Maybe not psyched about the shell-interpreted brackets, semicolons, and spaces. But the idea is interesting!