Hello,
I recently installed EOS Cassini on my trusty work laptop, i moved my Backed up Files into their respective folders and i wanted to clean up the tmp folder so I used the command “sudo rm -rf * /tmp” but then after that my entire home folder got cleared somehow too. Does the home folder connect somehow to tmp? If so I’m gonna need help recovering everything, sure hope i didn’t overwrite much because I also made new folders for everything
EDIT: Good news! I remembered that I have another backup of my files on my phone, had a little bit trouble finding them but I found everything!
sudo rm -rf means to recursively delete everything in the list that comes after that.
You then passed two arguments * and /tmp. * would have matched everything in the directory you were in when you ran the command. So it deleted everything in whatever your current directory was and /tmp
If you installed over the data you deleted it is pretty much all gone.
It is also harder to recover data stored with encryption + btrfs. I haven’t used one of those tools in a long time but when I last did that wasn’t supported. The ones I have used read the raw data so if it is encrypted they can’t access it. Although, again, that was quite some time ago.
These days, I aggressively take backups of everything.
It is kinda fine, too sad that i lost a pretty well made powerpoint presentation for my music class and other school files, may these files rest in peace due to my mistake