4 ms·
Okay it's 2022 and you still don't want to run nepomunk, a holistic semantic filesystem approach never happened and you're stuck with a million files in your Do
by calvinmorrison 4y ago
Okay it's 2022 and you still don't want to run nepomunk, a holistic semantic filesystem approach never happened and you're stuck with a million files in your Download folder, home folder etc.
So I use this script to give me a nice work environment, based on each day.
Every time you open bash, it'll drop you into today's directory. (~/work/year/month/day/)
When I think about stuff it's like.. oh yeah I worked on that last week, last year, etc - the folder structure makes this a lot easier, and you can just write 'notes' or 'meeting-with-joe' and you know the ref date.
For your bashrc:
alias t='source /path/to/today'
t
Now every day you'll know what you worked on yesterday!
# this is where you'll get dropped by default.
calvin@bison:~/work/2022/07/10$
calvin@bison:~/work/2022/07/10$ ls
WardsPerlSimulator.pl
calvin@bison:~/work/2022/07/10$ cd ..; ls;
01 02 04 05 06 07 08 09 10
calvin@bison:~/work/2022/07$ cd ..; ls
01 02 03 04 05 06 07
calvin@bison:~/work/2022$ cd ..; ls
2021 2022
additionally you'll get a shortcut, you can type 't' as a bash fn, or go to ~/t/ which is symlinked and updated everytime you run today (which is everytime you open bash or hit 't'. this is useful if you want to have Firefox/Slack/whatever always save something in your 'today' folder.
https://git.ceux.org/today.git/ https://git.ceux.org/today.git/
- PurpleRamen 4y ago> Okay it's 2022 and you still don't want to run nepomunk, a holistic semantic filesystem approach never happened Do you mean Nepomuk, that thing from KDE, which dead like 10+ years ago? > Every time you open bash, it'll drop you into today's directory. (~/work/year/month/day/) Ok, that's an interesting Idea, but isn't this more akin to Gnome Zeitgeist? When aimed Nepopmuk at journaling? > https://git.ceux.org/today.git/ https://git.ceux.org/today.git/ But where is the script? I only see the readme, no code for creating the folder.
- calvinmorrison 4y ago> Do you mean Nepomuk, that thing from KDE, which dead like 10+ years ago? Yeah. I mean I think the pitch when KDE4 launched was like... let's rethink how we deal with our files as less discrete paths and more like easily findable stuff. > But where is the script? I only see the readme, no code for creating the folder. whoops, I added it!
- carapace 4y agoThis NEPOMUK, eh? https://en.wikipedia.org/wiki/NEPOMUK_(software) https://en.wikipedia.org/wiki/NEPOMUK_(software)
- emptyparadise 4y agoTemporal Nix
- ewuhic 4y agoWhich is what exactly?