Boolean Logic in Spotlight

There are a few things you can do with Spotlight that you might not be already utilizing. In addition to being able to search by filename, content, metadata, or by date created, last modified, and file types, you can also use boolean logic in the search phrases.

Here's some uses of the commands:

You can search for files that contain the word "andrew" but not "alex" in the filename or content, by typing "andrew NOT alex"

You can use this to find files that contain either "andrew" or "alex" by typing "andrew OR alex".

Typing "andrew hikes at night AND alex goes to sleep early" you will find files that contain both phrases within a file.


Post a Comment