Tuesday, 17 December 2013

Read OS X Version info of mounted volume

Below command can be used to read Mac OS X version info from a mounted volume

defaults read /Volumes/NameOfVolume/System/Library/CoreServices/SystemVersion ProductVersion

returned value will be something like

10.9

It can be parsed for further processing


No comments:

Post a Comment