I was doing command line stuff while tweaking on coffee and having a bit of an anxiety attack and I accidentally deleted my home directory.
But I have automated daily snapshots saved which is a ZFS feature. And I was able to simply restore from the latest snapshot which was from this morning. So this is the first time ever that I got any benefit from being on ZFS.
how does one sccidentally delete home directory? I know that it happens but how!
I’ve done it, more than once. There are infinitely many ways to do it. I use trash-cli instead of rm(1) now.
The gist is this:
dir1
, then traverse todir1/..
and select stuff there, the selections indir1
will persist. In hindsight this sounds like an antifeature./home
and selected/home/name
/home/name
was also selectedrm
is aliased torm -iv
so the output conveyed to me what was going on (my home directory was being nuked)A cautionary tale for all those out there who wish to use meme software.
It’s pretty good when it’s not nuking your $HOME
Asahi Lina proves this. Utterly incomprehensible system programming streams
Here is why setup is superior:
Yup, I know the feeling. That’s why it can be nice to start fresh with a new installation or new distro.
I’d recommend installing
trash-cli
or something equivalent as welli will do so, didn’t know about it 👍