I’ve stopped using it because I can never get it to find what I want.
I have had to resort to dropping to digging up a tutorial on the Unix “find” command(of course I can’t remember how to use find) , then drop to Bash and look for files that way.
Can Spotlight find filenames only, without looking at the contents of a file? I rarely need to search for file contents, although I can see how that is useful at times.
Alfred does a better job than spotlight at finding files. Just type space and my search and it will give me 10 hits without all the other recommendations.
As @DEVONtech_Jim pointed out, you need to use the “name:” qualifier to find the files, but even then if you click one of the results Spotlight wants to open the file, which isn’t what you want. I think what you want to use is Finder Search instead of Spotlight. From there, you can choose “Open in enclosing folder” etc.
I’m just going to echo the Alfred recommendations. And I say that as someone who took almost a decade to start using Alfred. I’d heard recommendations, I even played with Alfred a bit, but I never got into it, until this single comment from someone piqued my interest enough to look at it more clsoely.
Alfred is faster than Spotlight. Even though Spotlight is built-in.
That proved true. The commands are simple-as too, in Alfred, for what you requested.
“john” - Will search for app names containing the word John
" john" - With the space at the beginning, will search for file names containing John
“in john” - Will search for files containing the text John
When I need to search my entire Mac or even some out of the way corner, I open the HoudahSpot app, which uses the Spotlight indexes but gives me a more flexible, guided, front-end without having to remember search syntax.
I love HoudaSpot and use it regularly, but for me it is the nuclear option when it comes to search. Unless I know I need the advanced features I’ll usually try Alfred first. If it comes up empty then I’ll fire up HoudaSpot.
I’ve had a license for Alfred for a long time but never got around to learning it. It sounds like overkill if spotlight can search for files though.
One of these days I need to take Alfred 101