Image-ExifTool - Re: find&change in IPTC field for 1000's photos?

Posted on Fri Feb 8 21:42:31 2008 by exiftool in response to 7035 (See the whole thread of 6)
Re: find&change in IPTC field for 1000's photos?
Stupid me. This is easy to do with a user-defined tag:

'Image::ExifTool::Composite' => { NewCaption => { Require => 'Caption-Abstract', ValueConv => '$val =~ s/\bkid\b/child/g ? $val : undef', }, },

With this user-defined tag, just use "-caption-abstract<newCaption" to convert the caption. If the word 'kid' is not found, then the tag will not be changed. Read up on the config file documentation for help on installing the user-defined tag.

Sorry for not thinking about this earlier. You can do nearly anything with user-defined tags.

- Phil
Direct Responses: 7055 | Write a response