Thanks everyone. Drawing on your ideas, I think i've figured out how to 
dissect out the jpgs using a few commands. I'll post the details when i've 
put all the parts together. 

The basic approach is to use bed's global regexp find/replace to replace the 
several bytes preceding each FF D8 with an end-of-line and a unique text 
string. save it. do the same for the FF D9. grep -a -b the two modified 
files for the carrot and unique string, ignoring everyother (which is the 
thumbnail). use dd and adjusted byte offsets on the original file. I've left 
out details.

At this point fragmentation does not seem to be an issue -- maybe because 
I'm not in the habit of doing any in-camera editing or deleting. After 
reformatting the card, I took another 80 pics or so on the 512MB card, so I 
hope to be able to recover the final 80 or so images from the two previous 
dives, which ended with a full card.

Mike

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to