--- On Thu, 11/17/11, Mark Tapley <mtapley at swri.edu> wrote:
??? I have a 128 MB Smart Media card from my
camera which I inadvertently formatted, erasing a whole pile
of really good photos from Yellowstone Park, in mid-June
2009. It recently re-surfaced in my pile of things to do.
1) Is there any hope at all that the original images are
recoverable?
Assuming that you just reformatted the card and haven't used it again, then yes, you
should be able to recover everything.
2) Any recommendations on where to go to get that
done?
This is going to assume a *nix based system - I have no idea how you'd do this from
Windows, as I don't use it...
First, dd the card to a file. Work only from the image file, not the camera card:
dd if=/dev/[cardreader] of=[imagefile]
photorec is a wonderful piece of software that can automatically scan and recover image
files that have been deleted.
photorec [imagefile]
If you've got other stuff on there that's not a photo (or an MP3, I think photorec
also parses those), then you'll have to use the tools from sleuthkit:
fls -f fat -r [imagefile]
will list out the files it can find, and give you the inode numbers of the files.
It'll probably be a long list, so pipe it through less or something.
You can then use icat to extract the file, by inode number, from the list:
icat -f fat [imagefile] [inode#] > filename.foo
Not that I've ever accidentally deleted files from a camera card. No. Never.
-Ian