Requesting Help with a Find Filter

Hello,

Below is a filter to select images and videos but exclude files that have certain text in file names:

That filter in the screenshot is fine, but I want to add to it.
I would like to also exclude files in folders with certain names - like excluding files in a folder named 'Thumbnails' or 'previews'.

I've been trying different things for over an hour with no success.
Is it possible to do? If yes, how?

Yes, add a Sub-Folder clause (at the top level, i.e. the same level as the the two existing Subclauses), and make that exclude things named 'Thumbnails' or 'previews', and it'll skip those folders (and all folders inside them) entirely.

Thank you.
I assume you meant 'subclause', not sub-folder clause?

Once I add a subclause like this:
image
...the results included every folder - except .webviews folders.

Before I added that subclause, the results included only files, which was what I wanted.

No, there should also be a Sub-Folder option right below that in the list, which is the one you want for filtering out entire branches of the search hierarchy.

Perfect! Thank you.
I did see 'sub-folder' and looked it up in the online manual. Please consider changing 'subfolder' to sub-folder in the manual so it's easier to find.

Done!

(On Filter Clause Types [Directory Opus Manual] - I think that's the only page about it.)