Image-ExifTool - Recursive Extraction of Thumbnail images from CR2

Posted on Wed Sep 3 14:15:00 2008 by raoulj
Recursive Extraction of Thumbnail images from CR2
May I dare to ask one mor question ?

Well, let's go :
I now want to extract thumbnail images out of my RAW AND JPG files.

Strangely enough, it seems EXIFTOOL doesn't allow to use the -o option to define the output file name.
exiftool -r -b -thumbnailimage -ext cr2 -o %f(.jpg) DIR
When I do that, I end up with a copy of the original file (8MB CR2-format file) or an error message saying it can't convert a raw to a jpeg...
Nevertheless, it works when I just redirect the output with a pipe (in the way described in the doc's example)...
exiftool -b -thumbnailimage -redirected to- test.jpg
That's not the way I wnat it, since it works only for one file at a time (I need to use a FOR loop in my batch file to achieve it for each file in a directory, while I'd like to use the -r option in EXIFTOOL)...

So my question : Am I doing something wrong ? Or, in other words, is there a better way that works ?

Sorry for all those questions... but EXIFTOOL is so promising that I really want to do everything with it !

Have a nice day

Raoul
Direct Responses: 8737 | Write a response