Fast, lightweight tool to recover JPEG photos from SD cards and disk images.
214
A fast, lightweight, and camera-agnostic tool designed to carve and recover valid JPEG photos directly from corrupted SD cards or raw disk images.
FF D8) through End of Image (FF D9) to extract whole, uncorrupted files with exact byte sizes.DateTimeOriginal, tag 0x9003) to name files with their original capture timestamps..img, .raw, .dd) or direct physical block devices (e.g. /dev/sdb, /dev/mmcblk0).Recovered photos are written to the target destination folder as:
IMG_YYYY:MM:DD HH:MM:SS.jpg — when an EXIF capture date is detected.IMG_<sector_offset>.jpg — when the image does not contain an EXIF date tag.Mount your current working directory containing the image file into /data:
docker run --rm -v "$(pwd):/data" bokic/dslr_jpen_recovery sdcard.img ./recovered
Pass the physical block device into the container using --device:
docker run --rm --device /dev/sdb:/dev/sdb -v "$(pwd):/data" bokic/dslr_jpen_recovery /dev/sdb ./recovered
Important: Always unmount the SD card filesystem before scanning (
umount /dev/sdb*). Never write recovered files back onto the damaged SD card.
Usage: dslr_jpen_recovery <img_file> <dest_dir>
<img_file>: Path to the disk image file or block device node.<dest_dir>: Directory where recovered JPEGs will be saved.Content type
Image
Digest
sha256:06091c2de…
Size
3.5 MB
Last updated
26 days ago
docker pull bokic78/dslr_jpen_recovery