defaults: add find example (#5147)

This commit is contained in:
Thomas Wünsche 2021-01-16 15:04:01 +01:00 committed by GitHub
parent d1423acaa3
commit 7f63c6eee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
# defaults
> Read and write macOS user configuration for applications.
> More information: <https://ss64.com/osx/defaults.html>.
- Read system defaults for an application option:
@ -10,6 +11,10 @@
`defaults read -app {{application}} {{option}}`
- Search for a keyword in domain names, keys, and values:
`defaults find {{keyword}}`
- Write the default value of an application option:
`defaults write {{application}} {{option}} {{-type}} {{value}}`