O'Reilly logo

Mac Kung Fu, 2nd Edition by Keir Thomas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tip 182Be Ultra-Accurate with Spotlight

Spotlight is precise in providing files that match your search query, but you can also force it to be even more specific, returning only certain types of files in the results, for example, or only those files with certain characteristics.

Searching for Types of Files

To force Spotlight to search only for a particular type of file that matches your search term, such as images, type kind: and then the type of file you’re looking for. For example, to search only for audio files matching the word bieber, I’d type the following:

 
kind:music bieber

To search for documents matching the word report, type the following:

 
kind:documents report

You can see a full list of words that can be used in the following table. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required