Recovering deleted file

Some time we accidentally delete some important file, which we should not. If we simply delete it (moving to trash) we can easily recover it going to trash and restoring it. But if we permanently delete it (like using shift+delete key or emptying trash), it becomes very difficult to recover them. But we can do this using PhotoRec software. This can run in any kind of file system. You can even use it to recover lost photos from camera memory card or flash drive. This software is available for Linux, Windows and Mac. But here I will concentrate on Linux (mainly Ubunut) only.

Installing PhotoRec

First of all you have to install photorec using the following command

sudo apt-get install testdisk

Recovering File

First open terminal and then run the following command

sudo photorec

and then first choose your drive form where you want to recover files, and then choose the option intel type. On the next screen choose the partition from where you want to recover the file. On next screen choose the file type. And then choose the type of file system. Next screen will ask you about whether you want to scan the whole partition of free portion. Select whatever you want. Now photorec will start recovering file. This whole operation will take a good amount of time, so please be patient.

For more information and screen-shots please visit the following link.
http://www.unixmen.com/recover-deleted-files-in-linux-with-photorec/

Cheers
A.Paul.

Comments

Popular posts from this blog

Changing caption width in latex

Subtitle in latex

Placing float (table or figure) at the top of the page in otherwise empty page in LaTeX