Jump to content

Looking for data string inside a file


Recommended Posts

Sometimes I am not sure what the name of a file is, I only know the text string I am looking for.  For example, I have a text document that I know the words "I love you" are typed, but I forgot the name of the text file.   So if I bring up Alfred and type "Find" or "Find In" now Alfred can't find a file it only gives me choices to search for it on the Internet, I want to restrict this type of search only to my computer and to either files with the text string I am looking for. 

 

How do I have Alfred do that type of search for me? 

 

Link to comment

Sometimes I am not sure what the name of a file is, I only know the text string I am looking for.  For example, I have a text document that I know the words "I love you" are typed, but I forgot the name of the text file.   So if I bring up Alfred and type "Find" or "Find In" now Alfred can't find a file it only gives me choices to search for it on the Internet, I want to restrict this type of search only to my computer and to either files with the text string I am looking for. 

 

How do I have Alfred do that type of search for me? 

 

The keyword to search within a file is "in" and not "find in" unless you have edited the keyword for this function. This does require that Spotlight can read the text content of the file. 

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