Repository navigation
Pristine-guest Command line interface to a user's defaults.
Syntax:
'defaults' [-currentHost | -host ] followed by one of the following:
read shows all defaults
read shows defaults for given domain
read shows defaults for given domain, key
read-type shows the type for the given domain, key
write <domain_rep> writes domain (overwrites existing)
write writes key for domain
rename <old_key> <new_key> renames old_key to new_key
delete deletes domain
delete deletes key in domain
delete-all deletes the domain from all containers
delete-all Key> deletes key in domain from all containers
import writes the plist at path to domain
import - writes a plist from stdin to domain
export saves domain as a binary plist to path
export - writes domain as an xml plist to stdout
domains lists all domains
find lists all entries containing word
help print this help
is ( <domain_name> | -app <application_name> | -globalDomain )
or a path to a file omitting the '.plist' extension
is one of:
<value_rep>
-string <string_value>
-data <hex_digits>
-int[eger] <integer_value>
-float <floating-point_value>
-bool[ean] (true | false | yes | no)
-date <date_rep>
-array ...
-array-add ...
-dict ...
-dict-add ... snapshot (259 XML plists, scrubbed of data blobs/emails/ip-ish/token-ish strings). Input to scripts/export-defaults.py --baseline. Regenerate per macOS major: capture-baseline.sh → scrub-baseline.py → tag baseline-.