▲ 65 ▼ Tried to rm -r my .cache but accidentally did .config instead... (lemmy.ml) submitted 2 years ago by gun@lemmy.ml to c/linux@lemmy.ml 56 comments fedilink hide all child comments I'm a complete moron, I should've had that backed up and used trash... I had to learn the hard way lol
[–] Atemu@lemmy.ml 23 points 2 years ago (1 child) AND have backups. permalink fedilink source parent hideshow 2 child comments replies: [–] 30p87@feddit.org 1 point 2 years ago In the few years of me exclusively using the command line to manage files, even having rm aliased to rm -rf, and at some point to sudo rm -rf, out of convenience, I think it has happened thrice that I deleted the wrong file, and twice I was able to restore it with (hourly) backups. The third time, it was a minecraft world which I had created to test some mods and the server start script, and I had excluded it from backups because my ~/games dir is usually only used by steam. permalink fedilink source parent
[–] 30p87@feddit.org 1 point 2 years ago In the few years of me exclusively using the command line to manage files, even having rm aliased to rm -rf, and at some point to sudo rm -rf, out of convenience, I think it has happened thrice that I deleted the wrong file, and twice I was able to restore it with (hourly) backups. The third time, it was a minecraft world which I had created to test some mods and the server start script, and I had excluded it from backups because my ~/games dir is usually only used by steam. permalink fedilink source parent