Skip to content

Save to disk or iCloud by default

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

bash
defaults write NSGlobalDomain "NSDocumentSaveNewDocumentsToCloud" -bool "true"

Set to false

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

bash
defaults write NSGlobalDomain "NSDocumentSaveNewDocumentsToCloud" -bool "false"

Read current value

bash
defaults read NSGlobalDomain "NSDocumentSaveNewDocumentsToCloud"

Reset to default value

bash
defaults delete NSGlobalDomain "NSDocumentSaveNewDocumentsToCloud"