Skip to content

Instantly share code, notes, and snippets.

@paleite
Created June 27, 2024 09:06
Show Gist options
  • Save paleite/3f8b04ec1228a73bbb7b9b0f6775ec81 to your computer and use it in GitHub Desktop.
Save paleite/3f8b04ec1228a73bbb7b9b0f6775ec81 to your computer and use it in GitHub Desktop.
List all your installed Audio Units
find /Library/Audio/Plug-Ins/Components -name "*.component" -exec sh -c 'for f; do n=$(plutil -extract AudioComponents.0.name raw -o - "$f/Contents/Info.plist" 2>/dev/null) && n=$(echo "$n" | sed "s/^\"//; s/\"$//; s/.*: //") || n=$(plutil -extract CFBundleName raw -o - "$f/Contents/Info.plist" 2>/dev/null) && n=$(echo "$n" | sed "s/^\"//; s/\"$//") || n=$(basename "$f" .component); echo "$n"; done' sh {} + | sort -u -f | tr '\n' ',' | sed 's/,/, /g; s/, $/\n/' | pbcopy && pbpaste
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment