Author Topic: Help needed with folder and file naming please  (Read 2410 times)

Offline danfoto

  • Newcomer
  • *
  • Posts: 4
    • View Profile
Help needed with folder and file naming please
« on: February 10, 2011, 12:00:34 AM »
Running PM 4.6.6 on Windows 7 Pro 64-bit.

I'm trying to set up PM's "ingest" so that we can maintain the same folder and file numbering convention which we had when using Downloader Pro, but I'm stuck at two points.

I want PM to copy the ingested files to a folder named with the date, but in the format yyyy-mm-dd. If I use "into dated folder only" from the menu under "Copy photos", the folder is named yyyymmdd without the hyphens. Is there a way of making it name the new folder with the hyphens?

Similarly, for "Rename ingested photos as", I assumed I'd need to use {date}_{seqn} but that gives me files named in the format dd-mm-yyyy_xxx.jpg. How might I get them to be renamed yyyy-mm-dd_xxx.jpg?

Offline Sven

  • Uber Member
  • ******
  • Posts: 1022
    • View Profile
Re: Help needed with folder and file naming please
« Reply #1 on: February 10, 2011, 12:09:02 AM »
try using the variables {year4}-{month0}-{day0}
Changed from behind the cam to one who buys images as I started to run. No cam or lens left.

Offline danfoto

  • Newcomer
  • *
  • Posts: 4
    • View Profile
Re: Help needed with folder and file naming please
« Reply #2 on: February 10, 2011, 12:47:43 AM »
Thank you for that, sir.  It works, but seems to slow down the ingest bigtime. 

Maybe my best plan is to stick with the current renaming on ingestion then rename outside PM downstream ...

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24074
    • View Profile
    • Camera Bits, Inc.
Re: Help needed with folder and file naming please
« Reply #3 on: February 10, 2011, 06:01:44 AM »
Thank you for that, sir.  It works, but seems to slow down the ingest bigtime. 

Maybe my best plan is to stick with the current renaming on ingestion then rename outside PM downstream ...

It shouldn't cause any delay whatsoever.  What kind of difference in speed are you experiencing?

-Kirk

Offline danfoto

  • Newcomer
  • *
  • Posts: 4
    • View Profile
Re: Help needed with folder and file naming please
« Reply #4 on: February 10, 2011, 09:51:46 AM »
Kirk, before I check that for you, where exactly should I be placing the {year4}-{month0}-{day0} ?

I need to be sure I'm not doing something seriously stupid ...

Offline Sven

  • Uber Member
  • ******
  • Posts: 1022
    • View Profile
Re: Help needed with folder and file naming please
« Reply #5 on: February 10, 2011, 10:15:47 AM »
attached is a screenshot from my ingest-dialog where the file-renaming and the folder is set.

[attachment deleted by admin]
Changed from behind the cam to one who buys images as I started to run. No cam or lens left.

Offline danfoto

  • Newcomer
  • *
  • Posts: 4
    • View Profile
Re: Help needed with folder and file naming please
« Reply #6 on: February 10, 2011, 11:04:04 AM »
SK-Foto, thank you very much indeed for your help.  The problem is solved, although I have no idea what I did wrong earlier to get the slow ingest ...


Offline Sven

  • Uber Member
  • ******
  • Posts: 1022
    • View Profile
Re: Help needed with folder and file naming please
« Reply #7 on: February 10, 2011, 11:05:30 AM »
glad, it works...

BR
Sven
Changed from behind the cam to one who buys images as I started to run. No cam or lens left.