mathiasbynens/dotfiles — pull request #58 by MozMorris (2012-04-26 16:50:05+00:00)
Title: Scripts to backup and restore settings modified by .osx

I noticed quite a few people were worried about permanently losing the OS defaults, so I created a couple of scripts to backup and then restore the settings.

The backup script `osx_backup.sh` needs to be run before `.osx`. This could potentially be called from `.osx` automatically.

The settings are backed up to a text file `.osx_settings_backup` in the format : . This file I've added to the ignores.

The restore script `osx_restore.sh` uses the backup file to restore all the settings.

I've been using both scripts with success on a couple of machines. Not a problem if you think it's overkill, but it might come in handy for a few people. Let me know what you think.