#Accidentally overwrote my /usr/local folder and dont know how to get it back as it was

4 messages · Page 1 of 1 (latest)

nocturne sky
#

So I was trying to install android studio, and one of the steps is to extract a tar.gz in the /usr/local folder. I first tried to move it to that folder with the command sudo mv /home/myname/android-studio-2024.3.1.13-linux.tar.gz /usr/local/*

and now my /usr/local folder only has in it a "src" folder, the contents of that tar.gz.

wintry willow
#

boot live usb, then copy everything back using root file manager.

#

and please please dont use terminal for mv or delete commands. use root file manager instead if absolutely having to mess around outside of home folder..

#

or restore a timeshift snapshot if u have one