Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save coutureb/70b0c85c3bfd56ba088c16a872aac745 to your computer and use it in GitHub Desktop.

Select an option

Save coutureb/70b0c85c3bfd56ba088c16a872aac745 to your computer and use it in GitHub Desktop.
LaunchEvents -> com.apple.notifyd.matching
find /System/Library/LaunchDaemons /System/Library/LaunchAgents -name "*.plist" \
| while read p ; do plutil -convert json -o - ${p} \
| jq -r ' .. | objects | with_entries(select(.key == "Notification")) | select(. != {}).Notification'
done | sort -u > ~/Desktop/all-launchd-notifications.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment