Extracting previews (using the image's current filename)

Started by philbond87, May 01, 2021, 01:15:30 PM

Previous topic - Next topic

philbond87

Is it possible, when extracting all previews, to have the extracted previews use the current name of the file from which they were extracted, rather than the file's original name?

Using:
exiftool -a -b -W FOLDERNAME/%f_%t%-c.%s

I get the file's original name (suffixed with the preview type, which I do still want).

Thanks,
Phil

StarGeek

I'm not understanding.  What do you mean "original name" vs "current name"?  The %f will use the name of the file in which the previews are being extracted from.  If the previews are extracted from IMG_0074.Jpg, then %f will be IMG_0074.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

philbond87

Ah... user error.
I made a mistake in my application and was renaming the files after preview extraction.

Thanks!