Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 9842

defaults(1) is a macOS console application used to manage user preferences stored in property list files.

1 vote
Accepted

How can I script the setup of preferences in Mac OS X?

You can script most of the settings changes I wanted to make using the defaults command (wiki). … /bin/sh mv ~/new-defaults.txt ~/old-defaults.txt defaults read > ~/new-defaults.txt diff old-defaults.txt new-defaults.txt It'll give you all the changes to the defaults since the last time it was ran …
Kaypro II's user avatar
  • 558
2 votes
4 answers
6k views

How can I script the setup of preferences in Mac OS X?

I have a couple of Macs and I would like to create some kind of script that I can use to: Easily setup a new Mac after a reinstall Update settings to consistent values (so if I decide to change some …
Kaypro II's user avatar
  • 558