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
Batch copy individual Filename to IPTC Title field
-
BrianScott
- Posts: 1
- Joined: Wed Sep 05, 2018 7:15 pm
Re: Batch copy individual Filename to IPTC Title field
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.

In this one, "IPTC:Caption-Abstract" was used
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.

In this one, "IPTC:Caption-Abstract" was used
Last edited by michel038 on Fri Sep 07, 2018 1:57 pm, edited 2 times in total.
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
Re: Batch copy individual Filename to IPTC Title field
I found exiftool doc :
use this parameter :
-IPTC:Headline<${FileName;s/\.[^.]*$//} -overwrite_original -k -r
use this parameter :
-IPTC:Headline<${FileName;s/\.[^.]*$//} -overwrite_original -k -r
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm