Skip to content

Instantly share code, notes, and snippets.

@brod-ie brod-ie/.osx
Created Apr 8, 2014

Embed
What would you like to do?
OS X: Save to disk (not to iCloud) by default
#!/bin/bash
# Ask for the administrator password upfront
sudo -v
# Save to disk (not to iCloud) by default
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
# Kill finder
killall "Finder" > /dev/null 2>&1
# Fin
echo "Done. You may require a logout/restart to take effect."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.