Skip to main content

I'm trying to write a default colour profile entry into

/Users/Library/Preferences/ByHost/.GlobalPrefence

Does anyone have an easy single fire solution to this? Or is the only way around this to package up the plist and push it out to each machine when a user logs in?

Plistbuddy is a great way to go to script the addition to it. It may take a bit to wrap your head round, but it's effective.


Hi Jared, we unfortunately have to use OS X 10.8. Plistbuddy is not as standard in this OS and from what i can see isn't available for 10.8. Any other ideas on how to get around this?


PlistBuddy is in /usr/libexec on 10.8.x. You may need to include the path when calling it in a script:

/usr/libexec/PlistBuddy runs_this_command


Thanks rtouton! I'll check that out and let you know how i get on with it!