If you’ve upgraded to OS X Mountain Lion, you’ll have realized as soon as you launched Text Edit, Apple’s basic text editing program, that the default location for saving files is iCloud. Which is all very fine and dandy, but what if you don’t want to save all your random Text Edit stuff in iCloud? Are you out of luck?
Nope, of course not! Why would we even be writing this tip if you were?
There’s a simple Terminal command which will set the default to your local hard drive instead of the cloud, via iCloud. You can still save to iCloud; it just won’t be the first place that shows up when you hit “Save” while in Text Edit (or in other iCloud-enabled apps).
To make this happen, launch Terminal from your Utilities folder, which is in the Applications folder. Once Terminal launches, type or paste the following command in:
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
Now, when you go to save a file in Text Edit or other iCloud-enabled apps, the default will be on your local Mac, instead of iCloud. Mine defaults to my Documents folder. You can still save to iCloud, of course, just click on the popup menu and choose iCloud as your save location, as per usual.
If you find yourself wanting to save stuff to iCloud more easily, again, and want to turn things back to the way they were, simply type or paste the below command into a Terminal session. Easy!
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool true
Now it’ll all be back to iCloud as normal. Hooray!
- Source Macworld Hints