Jump to content

Spotlight-like searches


Recommended Posts

I still haven't figured out how to do Spotlight-like searches, for example:

 

filename:.caf (only files with caf extension)

 

I know how to do this, but only with filters, etc. How to do it directly in the Alfred prompt?

 

That particular example is 'find .caf'. 'find' searches filenames, 'in' searches file contents. I don't believe there's any way to do complex Spotlight queries without writing a workflow.

Link to comment

It's possible that that file type falls under a category you have excluded in Alfred.   

  

Go to Alfred Preferences>Features>File Search and about 3/4 of the way down you'll see "Don't Show:" 

 

I suspect if you have source files of plist files selected as "Don't Show", that particular file may not show up.  

 

Another place to look is Features>Default Results  and check your search scope. It is possible that while Spotlight has indexed the directory, that it has not been included in Alfred's search scope. 

Edited by scottisloud
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...