Friday, November 13, 2009

Recover deleted files in ubuntu

Well..... you can recover some of the files that you deleted intentionally or accidently for ever.(that which you dont find in the trash)


There are two tools that can be used..
1. scalpel
2 foremost

install any of them..
eg

sudo apt-get install scalpel

after the package is installed..you have to edit the config file to specify the type of file that you have to recover

sudo gedit /etc/scalpel/scalpel.conf

now uncomment the types of files that you have to recover.

and then identify the address of the address of the drive from which you have to recover the file.

this can be found out from gparted
say for example sda3

now type

scalpel /dev/sda3 -o output

here you can specify a path instead of output.
by the above command it creates a folder in the directory in which you have issued the command


similarly you can use the foremost also this purpose.



sudo apt-get install foremost

now type sudo foremost -t jpeg -i /dev/sda3

No comments:

Post a Comment