Last active
January 3, 2016 09:49
-
-
Save nine9ths/8445645 to your computer and use it in GitHub Desktop.
Command to dump all OS X defaults to XML plist files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach f ('NSGlobalDomain' `defaults domains`) | |
d=`echo $f | sed 's/,$//'` | |
defaults export $d $d.plist && plutil -convert xml1 $d.plist | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment