Free Software
Commercial Software
About me


  Intro   Download   Usage and examples

recover is a small utility that reads raw data from a disk image file or a disk device and extracts JPEG images.

I wrote it to extract images from a almost-broken memory card of a digital camera; it usually works well with digital camera storage devices because they are mostly not fragmented. Note that recover doesn't know anything about file systems so zero-fragmentation is a requirement.

To install just unpack the source and type make.

You also need to be able to access the device of the disk you want to use as the source media. For example if you want to use your Compact Flash reader you'll probably want to load related USB drivers (uhci and usb-storage modules) and SCSI disk driver.


Latest release is 0.2

You can download it here: recover-0.2.tar.gz

Usage and examples

Supposing that your memory card is in your USB reader and that it's mapped to /dev/sda:

# dd if=/dev/sda of=memory_card.img
16000+0 records in
16000+0 records out
8192000 bytes transferred in 10.905510 seconds (751180 bytes/sec)
# recover memory_card.img
Save from 401c5e00 to 401e51bc (size: 127932)
Writing saved-1.jpg
Save from 401fbe00 to 402324fa (size: 222970)
Writing saved-2.jpg
Save from 40232e00 to 402742cd (size: 267469)
Writing saved-3.jpg
Save from 40274e00 to 402a94a8 (size: 214696)
Writing saved-4.jpg
Save from 402a9e00 to 402d6c45 (size: 183877)
Writing saved-5.jpg
Save from 402d6e00 to 4030e9fc (size: 228348)
Writing saved-6.jpg
Web codesink.org

Sponsored links:

All contents Copyright (c) 2003-2013 by Stefano Barbato. All Rights Reserved. Site made with vim. Syntax highlighter source-highlight