therockmandolinist Posted March 4, 2016 Share Posted March 4, 2016 (edited) Quick question: is there a way to search for full/specific phrases (multiple words in given order) with the file search keyword "in" ? At the moment it seems to just give me anything with all given words regardless of their placement. Edited March 4, 2016 by therockmandolinist Link to comment
Andrew Posted March 4, 2016 Share Posted March 4, 2016 Quick question: is there a way to search for full/specific phrases (multiple words in given order) with the file search keyword "in" ? At the moment it seems to just give me anything with all given words regardless of their placement. I've just been having a bit of a play to see if this is possible with a file filter, but it looks like it's possible with a direct metadata query in Terminal such as: mdfind "kMDItemTextContent == '*This is a sentence*'" I'm going to take a look to see if there are some improvements to the file filter, as this should theoretically be possible. Cheers, Andrew Misha 1 Link to comment
Misha Posted January 17, 2017 Share Posted January 17, 2017 (edited) Hi guys, is it already possible to do this in Alfred? I mean to have Alfred show the results that you get in the terminal (when you use this command in Terminal)? Edited January 17, 2017 by Misha Link to comment
TomBenz Posted October 31, 2022 Share Posted October 31, 2022 On 3/5/2016 at 1:00 AM, Andrew said: I've just been having a bit of a play to see if this is possible with a file filter, but it looks like it's possible with a direct metadata query in Terminal such as: mdfind "kMDItemTextContent == '*This is a sentence*'" I'm going to take a look to see if there are some improvements to the file filter, as this should theoretically be possible. Cheers, Andrew @Andrew @vitor is there a way to search for specific sentence or sequence of words with "in" keyword. Also I use ff and fc (default file folder search) -- how to search for multiple words inside a file using it? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now