Author Topic: IPTC Pad, copying field to field  (Read 6751 times)

Offline Project2501

  • Newcomer
  • *
  • Posts: 2
    • View Profile
IPTC Pad, copying field to field
« on: October 04, 2010, 02:16:32 PM »
Hi all,

Firstly, its version 4.6.5 of Photo Mechanic, and I'm on Windows 7 x64.

This problem is a bit double-barrelled, and I'm interested to see if anyone has a work around, or knows of something I'm missing.

I've got a backlog of some 7000 images to deal with, and most of what needs to be done I can do with the IPTC wizards and an appropriate use of variables.

However, all the keywords for these images is in the caption field, rather than the keyword field, and that all needs to be moved. So far so good I hear you say, use the tools at hand. Which would be great, if the captions weren't in both English -and- German. They are however divided by a ~. (German first).

What I'm looking for is a way of having PM run through every image, deleting everything up-to (and including) the tilde from the caption field. I gather that the search and replace function doesn't support wildcards?

I hope someone has a clever idea, or knows something I don't :)

Regards
Rob.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24989
    • View Profile
    • Camera Bits, Inc.
Re: IPTC Pad, copying field to field
« Reply #1 on: October 04, 2010, 03:05:33 PM »
Rob,

Firstly, its version 4.6.5 of Photo Mechanic, and I'm on Windows 7 x64.

This problem is a bit double-barrelled, and I'm interested to see if anyone has a work around, or knows of something I'm missing.

I've got a backlog of some 7000 images to deal with, and most of what needs to be done I can do with the IPTC wizards and an appropriate use of variables.

However, all the keywords for these images is in the caption field, rather than the keyword field, and that all needs to be moved. So far so good I hear you say, use the tools at hand. Which would be great, if the captions weren't in both English -and- German. They are however divided by a ~. (German first).

What I'm looking for is a way of having PM run through every image, deleting everything up-to (and including) the tilde from the caption field. I gather that the search and replace function doesn't support wildcards?

I hope someone has a clever idea, or knows something I don't :)

I can't think of a way to accomplish this task with Photo Mechanic.

Sorry.

-Kirk

Offline TiggerGTO

  • Member
  • **
  • Posts: 95
    • View Profile
Re: IPTC Pad, copying field to field
« Reply #2 on: October 04, 2010, 04:54:37 PM »
Google ExifTool.  This is a very powerful command-line tool that allows you to extract and manipulate the Exif data.  If you have any scripting skills, you could easily extract and modify the data like you are requesting.  If not, you could extract the fields into a file that you could edit and turn into a bat file to modify the fields.