0

I was trying to delete a directory that I made using catkin_make( so I asked google) I used the fallowing code in catkin_workspace $ sudo rm -rf * I got trolled and deleted everything in Home

Is there a way to restore the Home folder?

Dani
  • 1
  • 1
  • 1
  • 1
  • https://askubuntu.com/questions/31450/tool-for-recovering-deleted-data-from-a-flash-drive/31453#31453 – Achu Jul 13 '15 at 13:20

1 Answers1

1

The default files inside your home folder will be re-created when you log in again. Do not do that since it might make it impossible to recover your personal data.

As for your personal documents: preferred method would be to restore those from a backup. If you do not have any you will need to rely on software like testdisk to find those files. Topics on recovering data:

Recovery tools work best if you did nothing with the space the deleted files occupied on disk.

Rinzwind
  • 299,756