ℹ️ 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
Context: I do this to review or alter scripts (or binaries) in an Alfred Workflow.