FL!P



   Display system version and build number in GeekTool



Subject Display system version and build number in GeekTool
Posted 7/2/2009; 11:16 AM by Philippe Martin
Last Modified 7/2/2009; 11:16 AM by Philippe Martin
In Response To (#Top of Thread.)
Label None. Read 400
<<PREVIOUS NEXT>> TOP THREAD EDIT REPLY
.

If you're a developer or a tester who uses to switch between various versions of Mac OS for testing purposes, you might find handy to get GeekTool to display the system version and build number. Here's how I do it:

echo `/usr/libexec/PlistBuddy -c "Print :ProductUserVisibleVersion" /System/Library/CoreServices/SystemVersion.plist` (`/usr/libexec/PlistBuddy -c "Print :ProductBuildVersion" /System/Library/CoreServices/SystemVersion.plist`)

The result is something like this:

10.5.7 (9J61)

.
<<PREVIOUS NEXT>> TOP THREAD EDIT REPLY
ENCLOSURES

None.
REPLIES

None.





This site managed with Conversant, © Copyright 2010 Macrobyte Resources

Site Managed with Conversant