Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Alameda

macrumors 68000
Original poster
Jun 22, 2012
1,569
1,323
I often want to search for a specific file, and I only want Spotlight to return a list of files which have the search string in their name. Is there a way to search only by file name?

[Resolution] Ok, I figured this out after posting. You merely prefix the search with name:

For example, name:Apple will return only items with Apple in the file name or (in the case of an email message) in the subject.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.