ExifTool Forum

ExifTool => Newbies => Topic started by: brokeiptc on May 18, 2020, 11:55:14 PM

Title: Adding words at the start of IPTC fields for Title and Description
Post by: brokeiptc on May 18, 2020, 11:55:14 PM
I have keyworded a bunch of files in Adobe Bridge, but forgot to put a few (identical) words at the start of each file in the IPTC Core fields "Description" and "Title. I believe those are the same as ObjectName and Caption-Abstract and XMP "Description" and "Title".

So if the files have the fields "blue banana on pink background", I want to change the fields to "yummy delicious blue banana on pink background". Essentially, just add "yummy delicious" at the start.

How would I go about doing this?
Title: Re: Adding words at the start of IPTC fields for Title and Description
Post by: StarGeek on May 19, 2020, 01:15:05 AM
If the words might be different, you could do this
exiftool "-Description<yummy delicious $Description" "-Title<Tasty $Title" /path/to/files

If you are adding the same words to both, then you could use
exiftool -api "Filter=s/^/yummy delicious/" -TagsFromFile @ -Description -Title /path/to/files

If you want to add in the IPTC IIM tags, just add in Caption-Abstract and ObjectName the same way.
Title: Re: Adding words at the start of IPTC fields for Title and Description
Post by: brokeiptc on May 19, 2020, 01:25:49 AM
Thank you, that worked perfectly!