2

accidentally happened to Shift+Del a folder named new from my external HDD. In my attempt to recover the lost data (very valuable to me) and after going through most of the previous such cases on Ask Ubuntu, resorted to using the intelligent testdisk recovery utility.

followed the testdisk procedure, entered the advanced option and selected the list option as shown:

phase_1

Then maneuvered to the directory Work, from where the folder named new is deleted.

It is here, that any deleted file/folder is highlighted.

phase_2

In my case it fails to show the deleted folder new.

Notes:

  • The external HD has been kept mounted and no system reboot performed yet.
  • while doing Deepsearch, the system slows down real bad.
kedarb
  • 95

1 Answers1

1

Happy to share with you the my research on how to recover deleted files on linux system.

Two part solution

  1. Recovering the deleted files by How To Recover Deleted Files In Linux [Beginner’s Guide]

Make sure to select the Undelete option which displays the deleted files, instead of list option.

  1. Now that you have recovered the deleted files and copied it in the selected folder, the files' permission need to be changed from root --> owner by How can I become the owner of a file/folder that root owns?
kedarb
  • 95