Page 1 of 1

Batch copy individual Filename to IPTC Title field

Posted: Wed Sep 05, 2018 7:25 pm
by BrianScott
I have been trying to add the Filename (Without ext) to the ITPC Title field. I can do it individually to each file but with so many files it is not practicle.
Is there a way to batch edit the images each with there own filename been copied to the Title Field.

Any help much appreciated.
Brian

Re: Batch copy individual Filename to IPTC Title field

Posted: Fri Sep 07, 2018 12:52 pm
by michel038
I don't know if it's possible with xnview.
I presume you want to process only jpg files
I think "IPTC:Tiltle" doesn't exist. I only used IPTC:Headline or IPTC:Caption-Abstract
I didn't find in exiftool documentation if it's possible to select filename without ext

With Xnviewmp, you can use "open with" ( Tools, open with, configure programs , add ... )

Create a new entry with exiftool.exe ( located in ...Xnviewmp\AddOn folder )
Then add parameters : -IPTC:headline<Filename

you can also add options :
-overwrite_original (to delete duplicate _original files)
-r (recursive, all files in subfolders will be updated warning !)
-k (holds exiftool window opened, so you can read error messages)

Parameters become : -IPTC:Headline<Filename -overwrite_original -r -k

Then select some pictures, right click "open with" ... "exiftool ..."
You can also select whole folders on the right hand side of the browser.

Image
In this one, "IPTC:Caption-Abstract" was used

Re: Batch copy individual Filename to IPTC Title field

Posted: Fri Sep 07, 2018 1:41 pm
by michel038
I found exiftool doc :

use this parameter :
-IPTC:Headline<${FileName;s/\.[^.]*$//} -overwrite_original -k -r