Author Topic: possible to replace an existing keyword in many images?  (Read 2881 times)

Offline ramblinwreck

  • Member
  • **
  • Posts: 56
    • View Profile
possible to replace an existing keyword in many images?
« on: October 21, 2010, 11:04:47 AM »
Hi,

[Running PM 4.6.6 on OS X 10.6.4]

Is there a way to replace one particular keyword (out of several) with a different one, in lots of images?

For example - lets say there are three JPGs:

IMG001.JPG, contains keywords: foo, aaa, xyz, abc
IMG002.JPG, contains keywords: foo, xyz, aaa, bbb
IMG003.JPG, contains keywords: foo, ccc, ddd

I'd like to be able to replace just 'foo' with 'foobar' (leaving the other keywords intact).

Is there a command or set of commands that would enable me to do this, leaving me with the following result?

IMG001.JPG, contains keywords: foobar, aaa, xyz, abc
IMG002.JPG, contains keywords: foobar, xyz, aaa, bbb
IMG003.JPG, contains keywords: foobar, ccc, ddd

Thanks
Chris






Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: possible to replace an existing keyword in many images?
« Reply #1 on: October 21, 2010, 11:37:13 AM »
Chris,

[Running PM 4.6.6 on OS X 10.6.4]

Is there a way to replace one particular keyword (out of several) with a different one, in lots of images?

For example - lets say there are three JPGs:

IMG001.JPG, contains keywords: foo, aaa, xyz, abc
IMG002.JPG, contains keywords: foo, xyz, aaa, bbb
IMG003.JPG, contains keywords: foo, ccc, ddd

I'd like to be able to replace just 'foo' with 'foobar' (leaving the other keywords intact).

Is there a command or set of commands that would enable me to do this, leaving me with the following result?

IMG001.JPG, contains keywords: foobar, aaa, xyz, abc
IMG002.JPG, contains keywords: foobar, xyz, aaa, bbb
IMG003.JPG, contains keywords: foobar, ccc, ddd

The Find and Replace panel can do that.  Just be sure that the string you're searching for does not exist as a sub-string (does not exist in the middle of a word) in any of the other Keywords, or they'll be modified as well.

-Kirk

Offline ramblinwreck

  • Member
  • **
  • Posts: 56
    • View Profile
Re: possible to replace an existing keyword in many images?
« Reply #2 on: October 21, 2010, 03:06:06 PM »
Got it Kirk, thanks.