How can I create a Saved Search that excludes a specific folder from the results? I'm trying to set up a Saved Search of my Mac that will exclude files in a folder called 'XYZ' from the search results. The reason is because I'm getting a ton of false positives from that folder that are difficult to sort through.

Just to be clear, I know you can add folders to a "Privacy" list in the Spotlight preferences, but I don't want to add this folder to that list --because I don't want to exclude it from all future searches, just this specific saved search. Any idea how something like this could be done?
If you hold option the (+) button to add a search criteria will become a (…) and an Any/All/None block. Set this to None.

For the criteria select Document Container. It won't be in the default list alongside Name, Kind, etc. Select Other… to select it from a list of additional criteria so long it has its own search feature:


Set this to the name of the folder that you'd like to exclude using whatever is/contains/begins with/ends with you find suitable.

The end result should look something like this: