How to move files from home/user.backup back to home/user?

by Mzidare   Last Updated July 13, 2018 19:02 PM

I'm using Ubuntu 16.04.4 LTS with Desktop Environment XFCE 4. I tried to install Second Life on my comp so after typing in the terminal sudo install.sh I got asked about directory I would like to install it to, so I typed home/user. Then the terminal window disappeared, files from home/user disappeared and folder home/user.backup appeared. When I try to use Thunar with sudo to move the files back, I get "No protocol specified" and "Thunar: Cannot open display" How can I move this files (including hidden) back to home/user folder?



Answers 1


You probably did more harm trying to move the files back. If you have not done anything to the two directories, you could simply renaming them back to what they was before. I.e.,

sudo mv /home/user /home/mygame
sudo mv /home/user.backup /home/user

It is unclear what you have done when you says trying to move the files back. May be you can describe all the steps you did already so we can find a way to reverse those operations. If the software you try to use hasn't done anything harmful yet, the above commands should do the trick.

Bernard Wei
Bernard Wei
July 13, 2018 18:43 PM

Related Questions


I can't access my folder through Samba?

Updated June 16, 2015 22:00 PM


backup file is broken

Updated April 22, 2017 16:02 PM


ath5k.conf file backup

Updated December 27, 2017 19:02 PM