Author Topic: Diverting ingested files depending on tags and filetypes..  (Read 58 times)

Offline Junction10

  • Member
  • **
  • Posts: 72
    • View Profile
    • Junction10 Photography
Thought I'd share my process for ingesting...

For my archive, I like to have the following structure, as an example:
2026
  260916-Jobname
    still
        _originals
        _selects
    video
        _original
        _selects

Using the following in the "into folder with name" field:
Code: [Select]
{year4}/{year2}{mn0}{day0}-{jobname}/[Folder]{mediatype}/|tag{tag}|
Just in case I have picked any images in camera or by previously browsing with Photomechanic, tagged files go in _selects while the untagged ones go in _originals. I also separate them depending on if they're still or video files...

Then I like to rename the images like so:
JS_Jobname_Venue_City_cameramodel_framenum

and for that I use "
Code: [Select]
[Initials]_{jobname:0:tr: /_}_{Location:0:tr: /_}_{City:0:tr: /_}_[Model]_{frame4}" - which I used to have in the "rename ingested files as" field in the ingest dialog.

But the problem then was it also tried to rename video files, which caused issues as some metadata fields weren't supported.. plus it caused discrepancies when ingesting proxy and raw footage.. which I wanted the filename to stay the same to match them easier when editing..

So with the help of code replacements, my rename field in the ingest dialogue simply reads:
Code: [Select]
|{mediatype}|{seqn:0,0}(I use | as a separator rather than =, and the {seqn:0,0} gets around an error Photomechanic throws because it thinks every filename will end up the same - this just fools it into thinking it will be unique, which it already would be)

My code replacement file contains the following lines:

Code: [Select]
// To determine which folder tagged images should go into during ingest
tag1 _Selects
tag0 _Originals
// Rename still files, leave video filenames alone - using the {mediatype} variable.
// Also makes sure any spaces are replaced with underscores
still [Initials]_{jobname:0:tr: /_}_{Location:0:tr: /_}_{City:0:tr: /_}_[Model]_{frame4}
video {fbas}

//== {serial}
//== {model}
//== {make}
//## Model Initials FullName Email Title Credit Copyright Source Folder SupplierID
151302400883 R5MkII_A JS Jason Sheldon jason@junction10.net Photographer Jason Sheldon/Junction10 Jason Sheldon/Junction10 Photography Junction10 Photography JDO
151302400884 R5MkII_B JS Jason Sheldon jason@junction10.net Photographer Jason Sheldon/Junction10 Jason Sheldon/Junction10 Photography Junction10 Photography JDO
033423011200 R6Mk2 JA John Appleseed johnappleseed@domain.com Photographer John Appleseed John Appleseed John Appleseed JAppleseed/ JA


Seems convoluted, but is an incredibly helpful boost to my workflow.
Hope others find this useful.

J


« Last Edit: Yesterday at 12:07:40 PM by Junction10 »
iMac 27" 5K Retina 2017 -  4.2ghz 64gb RAM 1Tb HD, OSX Mojave
MacBook Pro 16" M1 Max 24 core GPU, 2Tb SSD, 64gb RAM - OSX Sequoia

https://www.junction10.photography/

Offline alexmacnaughton

  • Member
  • **
  • Posts: 68
    • View Profile
Re: Diverting ingested files depending on tags and filetypes..
« Reply #1 on: Yesterday at 10:30:56 AM »
Hi Jason, thanks for sharing. I always find it interesting to see other people's workflows.
I'm curious about why you incorporate Hot Codes into your workflow.

Alex

Offline Junction10

  • Member
  • **
  • Posts: 72
    • View Profile
    • Junction10 Photography
Re: Diverting ingested files depending on tags and filetypes..
« Reply #2 on: Yesterday at 11:15:12 AM »
No problem..

Sometimes I’ll work with other photographers, and I also give workshops, so I’ll usually ask for an image from each of their cameras so I can put the serial number into the code replacements and then I can fill the IPTC fields with their name and copyright info etc.. and then if the camera doesn’t reveal a serial number in the exif data I can fall back to make and model.
Then it makes it much easier for me to catalogue the work of each photographer separately.
« Last Edit: Yesterday at 11:48:04 AM by Junction10 »
iMac 27" 5K Retina 2017 -  4.2ghz 64gb RAM 1Tb HD, OSX Mojave
MacBook Pro 16" M1 Max 24 core GPU, 2Tb SSD, 64gb RAM - OSX Sequoia

https://www.junction10.photography/

Offline alexmacnaughton

  • Member
  • **
  • Posts: 68
    • View Profile
Re: Diverting ingested files depending on tags and filetypes..
« Reply #3 on: Yesterday at 11:46:46 AM »
That makes perfect sense. Thanks for the clarification.

Offline Junction10

  • Member
  • **
  • Posts: 72
    • View Profile
    • Junction10 Photography
Re: Diverting ingested files depending on tags and filetypes..
« Reply #4 on: Yesterday at 12:10:18 PM »
I've just added an additional example line from my code replacements (with name and serial number changed) to show where the [folder] hot code is used - so for each photographer I'm taking cards from, I've set up the folder name (with trailing slash / ) to create a subfolder for each user - if it's my own images, then no subfolder is created.  Hope that helps.
iMac 27" 5K Retina 2017 -  4.2ghz 64gb RAM 1Tb HD, OSX Mojave
MacBook Pro 16" M1 Max 24 core GPU, 2Tb SSD, 64gb RAM - OSX Sequoia

https://www.junction10.photography/