cpanm App::Exifpic
# Extract embedded jpegs from all .CR2 files in the current dir $ exifpic *.CR2
This is a super-simple program to extract embedded (full-size) jpegs from RAW camera files. EXIF headers are copied to the new file, which will always have the same name as the old file, but with a .jpg extension.
The code will use as many cores as you have available, and assumes you're running a threaded perl.
Plenty! The code assumes you have a /proc/cpuinfo so it can count cores. It's only been tested on Canon .CR2 files. There are probably more.
Patches are super-welcome. You can find the code repo at https://github.com/pfenwick/app-exifpic .
To install App::Exifpic, copy and paste the appropriate command in to your terminal.
cpanm
CPAN shell
perl -MCPAN -e shell install App::Exifpic
For more information on module installation, please visit the detailed CPAN module installation guide.