pj0ta Posted November 9, 2014 Share Posted November 9, 2014 Hey All, I'm trying, without success so far, to use File Filter for searches inside json files. It works well with the rest of file types I've tried so far, but when I add json to the File Types list, File Filter doesn't return anything. If I rename to "name.json.txt" one of those json files in which I'm trying to look for text and look for all kind of files instead, the filter works without problem. Are there any limitations that prevent File Filter from looking inside files with .json extension? Here go a couple of screenshots of my configuration to reproduce the behavior: Thanks! Link to comment
jdfwarrior Posted November 9, 2014 Share Posted November 9, 2014 Hey All, I'm trying, without success so far, to use File Filter for searches inside json files. It works well with the rest of file types I've tried so far, but when I add json to the File Types list, File Filter doesn't return anything. If I rename to "name.json.txt" one of those json files in which I'm trying to look for text and look for all kind of files instead, the filter works without problem. Are there any limitations that prevent File Filter from looking inside files with .json extension? Here go a couple of screenshots of my configuration to reproduce the behavior: Thanks! If I had to guess, this would be because a json file, even though you and I know it's text, to Spotlight/OSX it isn't and therefore it doesn't have a kMDItemTextContent property associated with it. Same reason why you can't QuickLook json files by default Link to comment
pj0ta Posted November 9, 2014 Author Share Posted November 9, 2014 (edited) Thanks for your response, David! Seems that this is a known Spotlight issue (or is it a feature?). If anyone has another efficient alternatives to grep json files from Alfred, please share them. Cheers! Edited November 9, 2014 by pj0ta 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