Image-ExifTool - Re: edit keywords

Posted on Fri Oct 10 02:15:15 2008 by exiftool in response to 9012 (See the whole thread of 6)
Re: edit keywords
If you change "tr" to "s" then you can replace longer strings:

tr = translate (a character at a time)

s = substitute (whole strings)

The only trick is that the substitutions take a regular expression, so some characters have special meanings ( . * ? + brackets etc) and must be escaped with a backslash.

If you want to learn more, check the Perl docs. :)

- Phil
Write a response