Find bundle identifier of Mac app
If you need to find the bundler identifier for a MacOS application for whatever reason, maybe you're trying to execute some useful defaults
command. You can use a quick AppleScript in the terminal like so:
osascript -e 'id of app "Visual Studio Code"'
> com.microsoft.VSCode
Tweet