Posted on 02-12-2013 05:36 AM
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?
Solved! Go to Solution.
Posted on 02-15-2013 08:09 AM
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
Posted on 02-12-2013 07:00 AM
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.
Posted on 02-15-2013 08:04 AM
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?
Posted on 02-15-2013 08:09 AM
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
Posted on 02-21-2013 07:22 AM
Thanks rtouton! I'll check that out and let you know how i get on with it!