Getting the bundle identifier of an OS X application

macOS Terminal
Bookmarked Getting the bundle identifier of an OS X application in a shell script (Super User)

How about reading the bundle identifier from the application’s Info.plist file directly using PlistBuddy (8):

/usr/libexec/PlistBuddy -c ‘Print CFBundleIdentifier’ /Applications/Safari.app/Contents/Info.plist

I needed to obtain the bundle identifier to setup QuickCursor. This did the trick.

By Khürt Williams

human being | casual photographer | nemophilist | philomath | human being khakis | t-shirt | flip-flops

What do you want to say about this post?

This site uses Akismet to reduce spam. Learn how your comment data is processed.