Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save floer32/79dcc81727dbc6fded1f6068e83fe027 to your computer and use it in GitHub Desktop.
Save floer32/79dcc81727dbc6fded1f6068e83fe027 to your computer and use it in GitHub Desktop.
Where to find helper script files, etc, for Alfred Workflows. (alfredapp.com)

ℹ️ There's also an Alfred Workflow for searching and grabbing this directory.

  • Manage Alfred Extension - List and view details about installed Alfred extensions. Additional features added: Open in iTerm, Copy Path and Browse Data Directory.

Directory with all Alfred Workflows:

cd /Applications/AlfredSync/Alfred.alfredpreferences/workflows

The workflow folders have UUIDs for names, so you need to search to find the one you are looking for.

find . -type f -name 'info.plist' | xargs grep "Workflow Name"

To directly open the Workflow folder in one command:

cd "$(find . -type f -name 'info.plist' | xargs grep "Alfred Workflow" | cut -d':' -f1 | xargs -I _ dirname _)"

# Then if you want to open it in Finder:
open .

More info: Alfred Workflow docs

@floer32
Copy link
Author

floer32 commented Mar 8, 2021

Context: I do this to review or alter scripts (or binaries) in an Alfred Workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment