Posted by: Odzangba | January 20, 2009

Recover Deleted Files Using Linux

One of my neighbours came to me a couple of days ago with a problem… he’d lost his CV to a windows virus and had no backup. So I said I’d try to recover the file for him. A quick google led me to Foremost. I chose foremost because it’s small, fast and easy to use. Since this was a file recovery operation, I decided to minimize the risk of the deleted file being overwritten by creating a disk image of the pen drive. A quick

dd if=/dev/sdb of=recover.iso

did the trick.

Then it was a simple matter of

sudo apt-get install foremost

to install foremost and then…

foremost -t doc recover.iso

The ‘-t doc’  parameter tells foremost to look for only Microsoft Word files. About a minute later, the thing was done and the files were back. For what it’s worth, if you accidentally delete a file, it’s a very bad idea to continue using the computer. Shut down the pc or disconnect the drive immediately and look for a linux rescue cd. 😀


  1. Many thanks for the tip. This saved an entire set of accidentally deleted vacation photos….

  2. Comrade,
    Thank You for the valuable information!

  3. арабские масляные духи оптом

  4. Beyond the 100 % amount of carriers, you can find a distinction between

    American Roulette and European Roulette. The ideals of a greeting cards is scheduled

    when bought in United states roulette. In cases like this, athletes have potato chips

    that have the same valuation. But Western Roulette chips continue being unchanged

    standard. Thereby, a person can offer a number of ideals french fries.

    The gambling game of roulette shall be to guess what selection do tumble primarily

    the ball and set the volume of paris. The dealership rotates the tire and

    declines the baseball within a opposing route belonging to the rotating wheel. The tennis ball

    to particular variety whenever the wheel prevents. Members who rely on these

    amounts to dominate the circular.


  6. Привет! Который палец онлайн чтобы форуме?

  7. 時尚拜金女

  8. 台北市-萬華【禾云室內設計│台北城市工程】─萬華室內設計│萬華裝潢統包│萬華木作工程

  9. – заработок на youtube без вложений – заработок на youtube – заработок на youtube за 1000 просмотров

    заработок в интернете 7 способов

    заработок на ютубе 2016


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: