Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

@hangtwenty

This comment has been minimized.

Copy link
Owner Author

@hangtwenty hangtwenty commented Mar 8, 2021

Note: Alfred's Alfred.alfredpreferences/workflows path might differ if you are not using Alfred Sync. I like to use Find Any File when I need to search files/folders globally.

@hangtwenty

This comment has been minimized.

Copy link
Owner Author

@hangtwenty hangtwenty 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