photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: Darius1968 on March 08, 2025, 06:24:59 PM

Title: Automatically Assign Newly Ingested Files To A Specific Category Conditionally
Post by: Darius1968 on March 08, 2025, 06:24:59 PM

I am trying to have IMatch evaluate a newly ingested file(s) for which folder (or subfolder) is used for storage, and if the file(s) are in a certain folder (or subfolder), then I want to assign a specific categor(y/ies).  So, can someone outline a correct procedure/workflow for this? 
Title: Re: Automatically Assign Newly Ingested Files To A Specific Category Conditionally
Post by: Mario on March 09, 2025, 09:09:55 AM
There is no such feature. This seems to be some pretty unique thing in your personal workflow.

If you really need this, consider using a data-driven category based on a variable that evaluates the folder name somehow.
For example:

{File.Path|contains:Beach,Beaches,Doh}

would assign all files in a folder than contains the word Beach somewhere into the category Beaches, and all other files into the Doh category.

Note that this will be quite slow for large databases. Best to find another way.