Author Topic: Adding a variable to Find and Replace  (Read 6121 times)

Offline mbbphoto

  • Sr. Member
  • ****
  • Posts: 312
    • View Profile
Adding a variable to Find and Replace
« on: November 08, 2012, 05:36:09 AM »
I have to find and replace the Artist Field in a large number of images.
I can add it to Preview Info Box but cant figure out how to add it in Find and Replace prompt/window.
Really need help asap with this.
ps: is there ANOTHER way if this is not doable?
many thanks!
Marc
Marc

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Adding a variable to Find and Replace
« Reply #1 on: November 08, 2012, 06:26:50 AM »
Marc,

I have to find and replace the Artist Field in a large number of images.

Artist field?  As in the Photographer field?

Quote from: mbbphoto
I can add it to Preview Info Box but cant figure out how to add it in Find and Replace prompt/window.

You mean the Info Text?

I'm really not understanding quite what you're trying to do.  If you want to completely change the Photographer field then you can simply apply an IPTC Stationery Pad with the Photographer field filled in the way you want it and make sure you're only applying that specific field.

HTH,

-Kirk

Offline mbbphoto

  • Sr. Member
  • ****
  • Posts: 312
    • View Profile
Re: Adding a variable to Find and Replace
« Reply #2 on: November 08, 2012, 06:57:19 AM »
In the EXIF data, there is a field called Artist (it shows up in Photomechanic variables)
Nikon fills this field from the Camera. (i borrowed a friend's camera)
The Copyright info from his NIKON D4 goes into Artist field in PM
We found it by adding Artist variable from the EXIF section to the 'Set Info Text' dialog box - it then showed up in the Preview Info box/view.
My client is seeing this as the photo credit.
I need to change this to MY name.
It does not show up in the Find and Replace command.

tx,
Marc

Marc

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Adding a variable to Find and Replace
« Reply #3 on: November 08, 2012, 08:38:46 AM »
Marc,

In the EXIF data, there is a field called Artist (it shows up in Photomechanic variables)
Nikon fills this field from the Camera. (i borrowed a friend's camera)
The Copyright info from his NIKON D4 goes into Artist field in PM
We found it by adding Artist variable from the EXIF section to the 'Set Info Text' dialog box - it then showed up in the Preview Info box/view.
My client is seeing this as the photo credit.
I need to change this to MY name.
It does not show up in the Find and Replace command.

Photo Mechanic does not edit EXIF data other than capture time and GPS coordinates.  It has no facility for changing the "Artist EXIF tag".  You can probably use ExifTool for that.

-Kirk

Offline Sven

  • Uber Member
  • ******
  • Posts: 1053
    • View Profile
Re: Adding a variable to Find and Replace
« Reply #4 on: November 08, 2012, 08:53:53 AM »
Hi!

On a Mac use the following syntax:

Single image:
Code: [Select]

exiftool -ownername='New Owner Name' '/path/to/your/image.extension'


All images in the folder and Subfolders:
Code: [Select]

exiftool -ownername='New Owner Name' -r '/path/to/your/imagefolder'


Hope that helps
Sven
After 5 years of absence I restarted the photography.

Offline mbbphoto

  • Sr. Member
  • ****
  • Posts: 312
    • View Profile
Re: Adding a variable to Find and Replace
« Reply #5 on: November 08, 2012, 09:16:40 AM »
sven the field is called artist is that the same as owner name???
Marc

Offline Sven

  • Uber Member
  • ******
  • Posts: 1053
    • View Profile
Re: Adding a variable to Find and Replace
« Reply #6 on: November 08, 2012, 09:29:27 AM »
Yes, that's the same...

I changed on my body the name and the "Owner Name" got updated.


EDIT: That was tested with a Canon!
Sven
After 5 years of absence I restarted the photography.

Offline Sven

  • Uber Member
  • ******
  • Posts: 1053
    • View Profile
Re: Adding a variable to Find and Replace
« Reply #7 on: November 08, 2012, 09:34:05 AM »
You can test it really simple:

Code: [Select]
exiftool /path/to/your/image.extension | grep "Owner"
This will display the current value.

Code: [Select]
exiftool /path/to/your/image.extension | grep "The Old Name Displayed"
This will display the field name and the value.
If the field name differs you can exchange the "Owner Name" with the displayed value.

Result for me:

Owner Name                      : Test
After 5 years of absence I restarted the photography.

Offline mbbphoto

  • Sr. Member
  • ****
  • Posts: 312
    • View Profile
Re: Adding a variable to Find and Replace
« Reply #8 on: November 08, 2012, 10:55:37 AM »
Many thanks!!!
Marc