Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Gophyr19218y@magicMirror I actually did this several years ago... let's just say I hadn't thought about back-ups and I did not yet use version control. I was much younger then... :D
-
There should be some kind of a temporary backup system hardcoded into linux because this kind stuff happens to everyone.
-
Seag3228yAlias rm to mv and write a script to empty the folder periodically.
Also learned this the hard way. Best(Worst). Lesson. Ever. -
Have you considered a trash package on Linux and alias the command as rm?
https://github.com/andreafrancia/... -
Gophyr19218y@Pelle I did it because I was young and I was typing too fast... This is one of the mistakes you make exactly ONCE in your life.
Related Rants
When you accidentally run " rm -rf * " in the directory containing ALL you projects, not in the directory of a single project.
That's right. You just encountered THE DEATH STAR.
undefined
woops
star wars
that was dumb
death star