Tag Archives: testdisk

How to recover lost pictures from memory card?

Recently, my friend asked me to rescue her pictures in the digital memory card because she accidentally formated it. I came across Ubuntu Help and i found testdisk an awesome app.

Photorec is file data recovery software designed to recover lost pictures from digital camera memory or even Hard Disks. It has been extended to search also for non audio/video headers. It searches for 80 different types of files. Photorec is part of the Testdisk package

To install testdisk

sudo apt-get install testdisk

To recover pictures from device, execute photorec (part of testdisk package) as root and follow the wizard to recover your pictures. It’s very simple and straight forward. Just select the appropriate partition type, file system and where you want to save the recovered files, then you’re good to go.

sudo photorec

With photorec, i was able to recover 100% lost pictures since my friend didn’t do any disk operation on the memory card after she accidentally formated it.