How can I export my system preferences? Is there a way for me to export my system preferences on my Mac for quick install on another machine?

An example of what I am trying to accomplish is, when I start a new job, I would like to import my settings and have my system preference work without having to manually configure all of my custom settings.

I am most interested in exporting settings for :


Trackpad / Mouse
Keyboard
Dock
dashboard (I like to disable it)
I wrote some scripts to backup and restore Mac preferences. It does both System and Application preferences.

You can grab them here: https://github.com/clintmod/mac-preferences-backup

They're pretty simple. I just loop over the domains from running defaults domains and then call default export [domain] [plist file path].

Then to restore I just loop over all the plist files in the dir and run default import [plist file path]

You can modify the config.py file if you want to backup to a different dir. The default dir is ~/Dropbox/MacPrefsBackup.