Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 2.23 KB

defaults.md

File metadata and controls

43 lines (30 loc) · 2.23 KB
layout title description content_hash last_modified_at related_topics tldri18n_status
page
osx/defaults (English)
Read and write macOS user configuration for applications.
16548f54061cc6c526c9393e52cbdcbaab433cad
2024-01-31
title url icon
português (Brasil) version
/pt_BR/osx/defaults.html
bi bi-globe
title url icon
中文 version
/zh/osx/defaults.html
bi bi-globe
2

defaults

Read and write macOS user configuration for applications. More information: https://keith.github.io/xcode-man-pages/defaults.1.html.

  • Read system defaults for an application option:

defaults read "application" "option"

  • Read default values for an application option:

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

  • Speed up Mission Control animations:

defaults write com.apple.Dock expose-animation-duration -float 0.1

  • Delete all defaults of an application:

defaults delete "application"