ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: tommyzebman on December 12, 2021, 09:29:40 PM

Title: How to organize files in directories/folders based on year and event or job
Post by: tommyzebman on December 12, 2021, 09:29:40 PM
I have solved making nice directory/folders based on dates down to date, etc.  But actually I just need year and then event or similar tag that is already in the file from my metadata input run.  This aligns with using sessions in Capture One.  Or at least this is my thought.  Missing proper sytax somehow.

Maybe use IPTC   -OriginalTransmissionReference for job  OR  XMP   -xmp-iptcExt:Event

Any ideas ?  Thanks.

How to organize files in directories/folders based on year and then folder named from  2 digit month %m then hypen followed by event or job tag - that's it.
Title: Re: How to organize files in directories/folders based on year and event or job
Post by: Phil Harvey on December 12, 2021, 09:38:35 PM
See this page (https://exiftool.org/filename.html) for help with this.  Example number 13 on that page is maybe a bit more complex than you want, but it shows how tags are combined with date/time information to move/rename a file.  For more details, see the -tagsFromFile section of the application documentation (https://exiftool.org/exiftool_pod.html).

- Phil
Title: Re: How to organize files in directories/folders based on year and event or job
Post by: tommyzebman on December 13, 2021, 10:52:12 AM
Could not get syntax correct to work directly - always my biggest problem.  SO, had my batch program copy month of year combined with Event title (inputed for each photo session) into Event tag first as part of my metadata input Step 1, then used your example for file move and directory creation which uses the tag {model} -- but used Event tag instead.  Works great now.

Thanks for the help.