Author Topic: Ingest into nested directories based on camera model?  (Read 1513 times)

Offline rlysakowski

  • Newcomer
  • *
  • Posts: 7
    • View Profile
Ingest into nested directories based on camera model?
« on: November 29, 2020, 08:36:11 AM »
I have 3 cameras and like to keep their photos in folders named after the make (Ricoh/Fuji etc...).
Right now I do it manually (I have a preset for each camera make), when ingesting I select the camera folder and let PM create the date based structure there.
For example:
c:\photos\Fuji\2020-11-27\
c:\photos\Ricoh\2020-11-27\

Is there a way to automate this process entirely with PM? I am on v6.0.
So in other words - during the ingest I want PM to automatically select the right camera folder to ingest the photos to.

Thanks in advance for sharing your thoguhts on this.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 23409
    • View Profile
    • Camera Bits, Inc.
Re: Ingest into nested directories based on camera model?
« Reply #1 on: November 29, 2020, 01:41:17 PM »
I have 3 cameras and like to keep their photos in folders named after the make (Ricoh/Fuji etc...).
Right now I do it manually (I have a preset for each camera make), when ingesting I select the camera folder and let PM create the date based structure there.
For example:
c:\photos\Fuji\2020-11-27\
c:\photos\Ricoh\2020-11-27\

Is there a way to automate this process entirely with PM? I am on v6.0.
So in other words - during the ingest I want PM to automatically select the right camera folder to ingest the photos to.

You can use the {make} variable in your path creation to create the camera manufacturer name, and you can use the date-related variables to create that dated folder you listed.

https://docs.camerabits.com/support/solutions/articles/48000358438-list-of-photo-mechanic-variables
https://docs.camerabits.com/support/solutions/articles/48000207409-ingesting-photos-with-photo-mechanic

HTH,

-Kirk

Offline rlysakowski

  • Newcomer
  • *
  • Posts: 7
    • View Profile
Re: Ingest into nested directories based on camera model?
« Reply #2 on: November 30, 2020, 06:37:06 AM »
Thanks Kirk.
Won't it just create multiple flat folders named 'Fuji - 2020-11-30', 'Fuji - 2020-12-01',etc... instead of nesting these?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 23409
    • View Profile
    • Camera Bits, Inc.
Re: Ingest into nested directories based on camera model?
« Reply #3 on: November 30, 2020, 09:05:40 AM »
Thanks Kirk.
Won't it just create multiple flat folders named 'Fuji - 2020-11-30', 'Fuji - 2020-12-01',etc... instead of nesting these?

Not if you put directory separators (\) between the appropriate variables like so:

{model}\{year4}-{month0}-{day0}

HTH,

-Kirk

Offline rlysakowski

  • Newcomer
  • *
  • Posts: 7
    • View Profile
Re: Ingest into nested directories based on camera model?
« Reply #4 on: November 30, 2020, 11:25:40 AM »
 :o this is pretty cool, need to try this out!
Thanks, will report back.