Is it possible to have filename(s) generated by -w displayed during execution?

Started by jeffdlb, May 17, 2021, 08:47:32 AM

Previous topic - Next topic

jeffdlb

When the -w option is used to specify an output filename pattern, there does not seem to be an option to have the resulting filename(s) reported as the command executes. For example, if I extract JPEG preview images from Sony RAW files using
> exiftool -b -PreviewImage -w _pv.jpg -ext arw .
then files with names like image_pv.jpg are correctly produced, but Exiftool only reports the number of files processed and created.
I tried increasing verbosity -v1 and -v5 but the info reported does not change. The -progress option enumerates each RAW file but does not state resulting JPEG names. I didn't find a way in the description of the -w option itself to have the new filenames be reported as they are created.

If there is a way to do this I would be grateful to learn of it.

-Jeff

StarGeek

Add the -v (-verbose) option
C:\>exiftool -v -a -b -W %d%f_%t%-c.%s -preview:all -progress Y:\!temp\aaaa
======== Y:/!temp/aaaa/A1_09479 original - Copy.ARW [1/2]
Wrote JpgFromRaw to Y:/!temp/aaaa/A1_09479 original - Copy_JpgFromRaw.jpg
Wrote PreviewImage to Y:/!temp/aaaa/A1_09479 original - Copy_PreviewImage.jpg
Wrote ThumbnailImage to Y:/!temp/aaaa/A1_09479 original - Copy_ThumbnailImage.jpg
======== Y:/!temp/aaaa/A1_09479 post exif update.ARW [2/2]
Wrote JpgFromRaw to Y:/!temp/aaaa/A1_09479 post exif update_JpgFromRaw.jpg
Wrote PreviewImage to Y:/!temp/aaaa/A1_09479 post exif update_PreviewImage.jpg
Wrote ThumbnailImage to Y:/!temp/aaaa/A1_09479 post exif update_ThumbnailImage.jpg
    1 directories scanned
    2 image files read
    6 output files created


edit: fixed link
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

jeffdlb

Adding -v did not work. However, using -W instead of -w did work, though I had to modify the command to use the form
> exiftool -v -b -PreviewImage -W %f_pv.jpg -ext arw .

Thanks,
Jeff