Recover lost JPEGs and MOV files on a bogus memory card or disk
https://github.com/samueltardieu/recoverjpeg.git
Installation
./configure make sudo make install
To use sort-pictures, you need to install:
What to do if the medium is physically damaged?
The hard drive was more complicated because recoverjpeg would abort on the first bad sector it hit.
I tried using a named pipe and that did not work, so I did:
> dd if=/dev/sdc of=recovery-image bs=65536 conv=noerror
> and that made an image file while skipping over the bad blocks without aborting. Then I would end up with a
500 GByte file which I ran recoverjpeg on, and it worked.
Another option suggested by Florian Schmaus is to use the dedicated ddrescue which may cope with even more desperate situations where multiple passes are needed in order to recover the physical medium content.
History
Of course, I had a backup of everything, but I cannot seem to remember where I put it.
On January 2010, Jan Funke added the recovermov(1) program to the package to recover lost movies.
On April 2012, Samuel Tardieu added the -d option to recoverjpeg(1) to circumvent arbitrary limits set on the number of files per directory on certain limited filesystems. Also, support of compilation with clang(1) was added.
Portability
Contact information
Authors:
Developmentautoreconf --install
Thanks