Hello,
It looks like a damn newbee question, but I googled and tried a lot of options, but still don't know how to specify a destination folder while extracting multiple (all) preview images from a raw files.
I want to extract all preview images from the SD card and store them at specific destination. Is there an option to tell the ExifTool to store then in a specific directory?
It works for a single file (like below)
exiftool -b -PreviewImage "patch to SD card"/IMG_1234.CR2 > "destination dir"/IMG_1234_preview.jpg
How to do the same for all images? E.g.
exiftool -b -PreviewImage -w <_peview.jpg -ext CR2 -r "patch to SD card" ...?...
Thanks for your help!
This example from the ExifTool application documentation (https://exiftool.org/exiftool_pod.html#reading_examples) could be exactly what you want:
Quoteexiftool -a -b -W %d%f_%t%-c.%s -preview:all dir
Extract all types of preview images (ThumbnailImage, PreviewImage, JpgFromRaw, etc.) from files in directory "dir", adding the tag name to the output preview image file names.
If you want them to go to a different directory, replace "%d" with whatever directory you want.
- Phil
Thank you, works like a charm.
Great tool!