I want to exclude specific folders from a spotlight query. I do NOT want to exclude them from indexing in general -- I just want to exclude them from my current query. I know how to add exclusion clauses to my queries (hold down alt/option and then click the ellipses and then click 'none'), however I don't know the field I'm supposed to choose. Is it 'Location,' 'URL,' 'Name'? I even tried using the mdls command on an example file in the folder I'm trying to exclude but I still don't know the name of the field that holds the file's path.
| |||
|
feedback
|
|
You can use URL and e.g. Based on the description, I think Location refers to physical location e.g. in Photo metadata. Name is just the file name itself, not the path. | |||
|
feedback
|
