As part of my process for releasing a new version of Arq, I needed a way for my script to get the version of an app bundle.
So, I wrote a simple utility called appversion which prints the value for the CFBundleVersion key in an app’s Info.plist.
For example:
appversion /Applications/iPhoto.app
yields:
8.1
Download the 32/64-bit Universal binary (in a zip file) here: