Jump to content

Improve file search


Recommended Posts

I think there're two aspects where Alfred can improve:

1. Allow user to search for content in the files in a specific folder (i.e. before using 'in' function, user can assign a specific folder as the search scope)

2. Allow user to specify the file type for search. For example, search pdf only in a specific folder.

 

I understand that these functions can be implemented by making workflows, but it's hard for non technical person like me to create one. I wish that these would be built-in function or in the sample workflows.

Link to comment
Share on other sites

The Dynamic File Search example shows you how to choose a directory to search in, and the search it. If you want to search for a specific filetype, just enter its extension as a word in your search query.

 

To also search file contents, add kMDItemTextContent to the Fields in the File Filter:

alfred-filesearch-text-content.png.5ba0788e9321c2fd0f7454edb916d128.png

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...