Author Topic: Possible to remove "Nikon" from renaming photos  (Read 117 times)

Offline edcoble

  • Newcomer
  • *
  • Posts: 2
    • View Profile
Possible to remove "Nikon" from renaming photos
« on: November 19, 2024, 03:04:39 PM »
I'm new to PM/PM+ and have searched for an answer before posting, but...

I'm using PM+ 2024.10, build 7907 on Win11 x64. I'm using this ingesting naming formula: {iptcyear2}_{iptcmonth0}{iptcday0}_{model}_{frame4}. {model} brings up both "Nikon" and the specific camera body--Z8, Z7ii, etc. I use only Nikon cameras and would like to remove "Nikon" from the naming because it adds something I don't need, unnecessarily lenghthening the naming of each photo.

Is there something other than {model} I can use that will identify the camera body used (e.g. D3300, Z8) without also including "Nikon"?

Thanks.


Offline ahoward

  • Camera Bits Staff
  • Hero Member
  • *****
  • Posts: 971
    • View Profile
Re: Possible to remove "Nikon" from renaming photos
« Reply #1 on: November 19, 2024, 03:26:06 PM »
Since you only use Nikon's, you could use the 'Translate' option for the {model} variable to replace "Nikon" in the result and translate it to nothing:
Here's what you would use: {model:0:UC:tr:NIKON /}

And you can see my result in the attached screenshot when renaming an image from a Z7 mark II, I end up with "Z 7_2" as the result for the model variable. The full documentation for this feature is here: https://camerabits.freshdesk.com/support/solutions/articles/48001077381-variable-substring-extraction

Alternatively, you could set up a code replacement file with the serial numbers of of your camera, and then use the serial number variable as a code replacement to have it return anything you want for that specific serial.

Offline edcoble

  • Newcomer
  • *
  • Posts: 2
    • View Profile
Re: Possible to remove "Nikon" from renaming photos
« Reply #2 on: Yesterday at 04:08:11 PM »
Thanks!