category formula?

Started by Robvog, November 20, 2024, 04:25:39 PM

Previous topic - Next topic

Robvog

A couple of years ago I asked in this community for a solution. My problem was: I have a folder with only master-photo's (.dng, .arw and .tiff-files) and another folder with only .jpg-files as versions. Each dng-file should have a .jpg-version. 
My problem was: how to make a formula-driven category to collect all .dng-/.arw-/ .tif-Masters without a .jpg-Version. 

Someone wrote a formula for me, good working for a long time. After the last great upgrade the formula doesn't work anymore. I do not understand why not. Can anybody help me to make the formula working? 
This is the formula:

"@RFolder[file://D:/Originelen/]" NOT "@RFolder[file://D:/Originelen/Org_Bern.-expo's en atelier/]" AND ("@FileRegExp[\.dng$]" OR "@FileRegExp[\.tif$]" OR "@FileRegExp[\.arw$]") NOT "@Collection[Relations|Master]"

thank you in advance
Rob Vogelsang    

ubacher

Quotehow to make a formula-driven category to collect all .dng-/.arw-/ .tif-Masters without a .jpg-Version. 
Filtering for file properties Hide masters and Hide versions doesn't do it for you?

thrinn

Quote from: Robvog on November 20, 2024, 04:25:39 PM("@FileRegExp[\.dng$]" OR "@FileRegExp[\.tif$]" OR "@FileRegExp[\.arw$]") NOT "@Collection[Relations|Master]"
At least this part (without the restriction on folders which is of course specific to your folder layout) works for me as expected. It shows DNG/TIF/ARW files that are not masters.

Maybe check that your Relation rules are still correct. The files that should appear in your category should be no masters, therefore I would pick a file that should be in the category, then check in VarToy if {File.Relations} shows some Master relation. Expected outcome is that there is no Master relation.
Thorsten
Win 10 / 64, IMatch 2018, IMA