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. ...

Get Mac Kung Fu, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.