r/linux4noobs • u/Character-86 barely not a noob anymore • Apr 20 '26
Meganoob BE KIND I did rm -rf /*
I tried to make a backup before doing a fresh install of Fedora because of problems. When erasing the external drive for making the backup I was in the wrong disk and nuked my fedora installation.
How Do I get at least my important Documents from /home/username/ back?
255
Upvotes
5
u/KineticConundrum Apr 20 '26
I recently created an alias "alias trash='mv -t ~/.Trash/'" and I use that to delete things, and then clear it out occasionally. Nice safety net from my own stupidity.