I’ve scripted almost all of the System Preferences settings and
application preferences I change when setting up a new system. I hope
some folks here might find this useful. I wrote it up in August, but
didn’t share it (beyond posting it on Github).
Because of the nature of it, I had to use almost every way of
changing .plist files: `defaults write`, PlistBuddy, osascript, plus
several system utilities. Anyone who has to manipulate .plist files
will likely learn something from my efforts.
<https://github.com/ptb/Mac-OS-X-Lion-Setup/blob/master/setup.sh>
Since I’m responsible for several Macs, I didn’t want the “There are
updates available!” prompts to always bother my family members, so one
section of my script is to disable the built in Sparkle et. al.
software update mechanisms for several applications.
If anyone has any additions/corrections, please feel free to clone my
script and send me changes!
– Peter
P.S. I know I don’t need to use the full path for every command, but
my coding style is to assume nothing about a user’s setup (meaning
they may have a completely empty PATH var).