macos-defaults/docs/finder/nsdocumentsavenewdocumentstocloud.md
2024-10-28 17:38:29 +01:00

1.1 KiB

title description head
Save to disk location | Finder Choose whether the default file save location is on disk or iCloud
meta
property content
og:title macOS defaults > Finder > Save to disk or iCloud by default
meta
property content
og:description Choose whether the default file save location is on disk or iCloud

Save to disk location

Choose whether the default file save location is on disk or iCloud

  • Tested on macOS:
    • Catalina
  • Parameter type: bool

Set to true (default value)

iCloud Documents is the default directory opened in the fileviewer dialog when saving a new document

defaults write NSGlobalDomain "NSDocumentSaveNewDocumentsToCloud" -bool "true"

Set to false

home directory is opened in the fileviewer dialog when saving a new document

defaults write NSGlobalDomain "NSDocumentSaveNewDocumentsToCloud" -bool "false"

Read current value

defaults read NSGlobalDomain "NSDocumentSaveNewDocumentsToCloud"

Reset to default value

defaults delete NSGlobalDomain "NSDocumentSaveNewDocumentsToCloud"