Searching with a "not" in Spotlight!
One thing that is weird about Spotlight is that it only seems to accept positive searches. You cannot say "contains" this and "doesn't contain" this.
The only option for "Contents" is "contains":
The same thing happens with "Name", there is "contains" and "is", but there is no "doesn't contain" and "is not":
The way around this that I found is to choose "contains" and to add a "-" in front of the word. So if you search for "Contents" "contains" "application -ical", it will search every file and document to find where it is written application, but it is not written ical. Make sure that there is no space between the "-" and the word or it won't work. That is the only way I found, but I think it is still an issue because the option of excluding files or names is not obvious and the "-" is not explained in the Finder help file.
12 Comments:
That's just great. Another tip to save me precious minutes !
you are actually only half right on this one.... on the actual spotlight search bar, you can type in NOT (capital letters because that is what differentiates Boolean from regular text on computers) and then the word you don't want.
e.g. ".app" will give you ALL files ending with .app
"NOT .app" will give you all files NOT ending with .app
try it!
lol i don't get it:s!
they both don't work by me.
ok to clarrify, you CANNOT type in "NOT" into the extra search parameters, it has to be in the original spotlight bar...
also, iAm using Leopard, perhaps this is just in the new Finder?
Not only cnan you use NOt, but you can also use OR... iFind using 2 boolean parameters doesn't always wrk... but one for sure does....
iCan garentee this because when iWanted to create a slideshow with all the pics on my comp iDid ".jpg OR .jpeg" and it gave me both .jpgs and jpeg...
-ical (using your example) is how qualifiers are used in ebay searches. I think it is neat.
I love your tips, but can you make more of them with steps, so they are easier to follow? Thanks!
This comment has been removed by the author.
ok, just to help clarify this furhter... iHave a site that iStarted a few days ago... go to web.mac.com/kuro.rai
click on "Tips"
then go to the latest post, "Boolean in Spotlight"
it should be up soon,iHave pictures there to help you guys see it...
Hold down the Command and Option keys, and the little + sign in the circle at the right side of the search window changes to a - sign. Click it, and you can add any number of exclusions to the search.
the "-" operator is common in engines. It's used in pretty much everything. Google, eBay, Ask, etc.
iHave actully dsearch... seems the "NOT" parameter that works for me is in fact apart of the new Finder... and only the new Finder... So for Tiger users, searching with a not is harder... for Leopard users, you can use NOT AND OR...
Post a Comment
Subscribe to Post Comments [Atom]
<< Home