Author Topic: File rename string problem, using code replacement  (Read 8871 times)

Online Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24730
    • View Profile
    • Camera Bits, Inc.
Re: File rename string problem, using code replacement
« Reply #15 on: July 15, 2014, 12:43:13 PM »
Dave,

Please try this build: http://www.camerabits.com/download/PhotoMechanic5R15809.dmg

You shouldn't have to change your Code Replacement delimiter character.

Let me know how it goes for you.

-Kirk

Offline sydlow

  • Newcomer
  • *
  • Posts: 27
    • View Profile
Re: File rename string problem, using code replacement
« Reply #16 on: October 18, 2020, 05:58:35 AM »
Hi Kirk,
I’ve stumbled on this problem now in a different context.
I’m using the \ char as my code replacement delimiter.
I’m changing the folder name on ingest so raw and jpeg goes to different folders.
So I’m trying to do \{type}\
But the dialog box doesn’t allow me to enter the \ character. PM changes it to a / when I type in the \ character.
This is on a Mac.

Is this the expected behaviour?

Online Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24730
    • View Profile
    • Camera Bits, Inc.
Re: File rename string problem, using code replacement
« Reply #17 on: October 19, 2020, 09:32:27 AM »
Hi Kirk,
I’ve stumbled on this problem now in a different context.
I’m using the \ char as my code replacement delimiter.
I’m changing the folder name on ingest so raw and jpeg goes to different folders.
So I’m trying to do \{type}\
But the dialog box doesn’t allow me to enter the \ character. PM changes it to a / when I type in the \ character.
This is on a Mac.

Is this the expected behaviour?

I will have to check with the rest of the team to see what we intended.  What version and build of Photo Mechanic are you using?

-Kirk

Offline sydlow

  • Newcomer
  • *
  • Posts: 27
    • View Profile
Re: File rename string problem, using code replacement
« Reply #18 on: October 19, 2020, 08:42:15 PM »
... What version and build of Photo Mechanic are you using?
5216 - the current one I believe.

Online Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24730
    • View Profile
    • Camera Bits, Inc.
Re: File rename string problem, using code replacement
« Reply #19 on: October 20, 2020, 11:48:27 AM »
I’ve stumbled on this problem now in a different context.
I’m using the \ char as my code replacement delimiter.
I’m changing the folder name on ingest so raw and jpeg goes to different folders.
So I’m trying to do \{type}\
But the dialog box doesn’t allow me to enter the \ character. PM changes it to a / when I type in the \ character.
This is on a Mac.

Is this the expected behaviour?

I have consulted with the team and the code and the current behavior is expected.  I suggest you choose a different Code Replacement delimiter, such as '=' which will not have this problem.  But I can tell you that Ingest treats RAW and JPEG images as pairs and splitting the RAW from the JPEG won't work.  You would have to do two Ingests, the first being RAW files only and the second being non-RAW files.  If you're also doing renaming and you're using a sequence, then you'll have a different problem in that the sequence number will have to be reset between the Ingest operations and even then depending on whether you were always shooting in RAW+JPEG mode, or if you switched to one of the other (RAW only or JPEG only) then you can still have the names go out of sync.

-Kirk

Offline sydlow

  • Newcomer
  • *
  • Posts: 27
    • View Profile
Re: File rename string problem, using code replacement
« Reply #20 on: October 20, 2020, 03:12:05 PM »
Thanks. Using the = delimiter works fine.

But splitting into different folders is working fine also. Maybe PM just does the double ingest automatically?  Magic really.
This is with a SD Card with CR3 and HIC files going to their own sub folder.