Jump to content
jonathanlaniado

Can Alfred search for files within an app bundle (package contents)?

Recommended Posts

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

Share this post


Link to post
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?

Share this post


Link to post
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).

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...