Author Topic: Code Replacement in Directory Path Name  (Read 1945 times)

Offline swldstn

  • Newcomer
  • *
  • Posts: 13
    • View Profile
Code Replacement in Directory Path Name
« on: November 03, 2014, 05:18:43 pm »
I'm new to Photo Mechanic and want to name my directories base on the Camera Model (I've used this approach in the past with Breeze System's Downloader and Ingestamatic). In my mapping file I have a simple mapping of serial number {snum} or {modl} to something like "1DX".
This works great as part of my file name like {yr4}{mn0}{day0}_{h24}{min}{sec}_{seqn}_\{snum}\

Problem is I can not put a mapping in the directory path. I can do

{modl}/{yr4}/{yr4}-{mn0} ({mnn3})/

but not

\{snum}\/{yr4}/{yr4}-{mn0} ({mnn3})/

I'm using a Mac with Maverick. Help is apprecited


Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 17650
    • View Profile
    • Camera Bits, Inc.
Re: Code Replacement in Directory Path Name
« Reply #1 on: November 03, 2014, 05:38:04 pm »
Try changing your Code Replacement delimiter from '\' to '=' instead.  Path name fields actively convert path separators and that's likely what is causing your problem.

HTH,

-Kirk

Offline swldstn

  • Newcomer
  • *
  • Posts: 13
    • View Profile
Re: Code Replacement in Directory Path Name
« Reply #2 on: November 04, 2014, 04:41:19 am »
Kirk,

Thanks. That work out. Now all I have to do is find a common way all my Camera manufactureres name their cameras. Canon uses Serial Numbers, Fuji does not. Don't know about Sony yet.

Steve