jonathanlaniado Posted July 27, 2020 Share Posted July 27, 2020 I've tried adding the folder within the package to the default Alfred search scope and I've tried creating a file filter with that same search scope. Neither works. :/ Link to comment
deanishe Posted July 27, 2020 Share Posted July 27, 2020 Quote Can Alfred search for files within an app bundle (package contents)? Nope. The contents of app bundles aren't indexed by macOS, so Alfred can't search inside them (and neither can Spotlight). Link to comment
jonathanlaniado Posted July 27, 2020 Author Share Posted July 27, 2020 1 minute ago, deanishe said: Nope. The contents of app bundles aren't indexed by macOS, so Alfred can't search inside them (and neither can Spotlight). Thanks for confirming. Are there any workarounds that might exist using a shell script? Link to comment
deanishe Posted July 27, 2020 Share Posted July 27, 2020 2 minutes ago, jonathanlaniado said: Are there any workarounds that might exist using a shell script? Standard command-line search tools, like find grep and locate (if you’ve turned it on), can search app bundles, sure. They’re just directories after all. If you’re trying to plug one into a Script Filter, though, do yourself a favour and use a language that supports JSON, not bash or zsh (or AppleScript). 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