How to Disable Versions Auto-Save in Mac OS X
Tired of Auto-Save continuously saving files in the background? Does Versions annoy you with it’s saved states of your work in each apps? For the vast majority of users, Auto-Save and Versions are excellent features in Mac OS X, but some advanced users are annoyed with the features that came in Lion (and are here to stay in Mountain Lion, Mavericks, Yosemite, El Capitan). If you fall into that crowd here is how to disable the automatic file saving and the entire Versioning system on a per-application basis.
Note: Most users should not disable these features, they are genuinely useful and can prevent loss of data. Turning off version control of files in OS X is only recommended for advanced users who know why they wish to do so.
Disabling Versions and Auto Save Per App in Mac OS X
If you know the name of the app you want to disable auto-save and Versions for, you can usually just plug the name into the defaults write command. Not all apps use the format of “com.developer.AppName” though so you will probably want to double-check how the app appears by using the following command first:
defaults domains
Find the plist name of the app from the exported list, and plug that into the following command. For example, this disables auto-save and file versioning for Preview:
defaults write com.apple.Preview ApplePersistence -bool no
Note that TextEdit and some other sandboxed apps require a different command:
defaults write com.apple.TextEdit AutosavingDelay -int 0
Now if you enter the Versions window, your auto-save list will be empty and there are no versions to restore to. You’ll probably want to use this in combination with disabling File Locking otherwise you’ll still end up with the Duplicate file hassle.
This tip comes from an answer thread on StackExchange and it has been confirmed to work with many default and third party apps in OS X.
Thanks for the tip Hans!
Thanks for support and increas publicity hopefully.
Ok, how re-enable Versions in Lion?
For some reason my apps don’t store the info in versions and I need the feature back as I’m relying heavily on it!
Please help me!
When browsing versions I see black placeholders with “Previous versions not available” line
I have been trying this on Yosemtie with SketchUp 2015 and have had no success. Amy tips are welcomed…
defaults write com.sketchup.SketchUp.2015 ApplePersistence -bool no
So I tried this with SketchUp 2015 and I did not find any success. I tried a few different approaches and none of them prevented the file from being double-saved with one having that annoying “~” at the end.
I tried this: defaults write com.sketchup.SketchUp.2015 ApplePersistence -bool no
The “bundle identifier” I pulled from the info.plist inside of the package.
Any tips are awesome!
Anyone know if this will work for Yosemite?
Awesome tips, thanks. I was getting mad with this new crappy way of filehandeling from apple. Now it is as is should be, perfect thanks.
HELP!
does NOT work for TextEdit (I enetred BOTH lines in Terminal) in ML 10.8.5
Textedit is ruining my work, WTF is up with apple these days? Snow Leoprad never did this.
Example: as soon as I convert a doc into plain text (without saving), the ORIGINAL file is overwritten without my asking, ruining everything.
This is serious workflow issue, a bug not in the software, but in their mentality & approach that Apple needs to address.
You probably want to turn off Auto Save completely in OS X, rather than focusing on a per-app basis. Follow this:
https://osxdaily.com/2012/08/22/turn-off-auto-save-os-x/
chflags 1600017 /Users/bz/Library/Saved\ Application\ State
Thanks for this. Versions gets in the way as I often don’t want to save intermediate versions of my work.
And here I thought ML was going to have a System Preference to disable this stuff. I still don’t want the computer to tell me what to do. I’ve sent feedback to Apple, but I guess they don’t really care. I was all ready to go from SL to ML, but now I am having second thoughts. Why can’t Apple just let this be a Global Option for those of us who don’t like Auto-Save/Versions? For those who like Auto-Save and Versions, that’s fine, but I’m not one of them. I don’t want my Mac to be a giant iPod/iPad, but that seems to be the Apple direction. If Windows 8 didn’t look so awful with those “tiles”, maybe I’d consider returning to Windows (did I actually type that?).
Interestingly, I just saw this on http://hints.macworld.com/article.php?story=20120604101520950
Wonder if that will work??
User “tempel” wrote:
It seems we can set the preference globally by using the “-g” option, like this:
defaults write -g ApplePersistence -bool no
Not advisable. This will cause the login process to become very slow (in my experience) and possibly cause other unexpected behaviour.
I just want an option “Save As….” So when I’m working on an existing document and I want to save a new version and keep the old one.
Now you have to do “duplicate file”, then rename it. then close the original file without saving the changes.
I generally love everything Apple does, but they really should give us the ability to opt-out of this one…
Just FYI, holding Option recovers the old “Save As…” command in place of “Duplicate”.
Duplicate is such garbage.
Your article contains incorrect information:
The last command is needed in *addition* to the first command, and is *only* needed for TextEdit (it was the only Apple app that used ‘old-style’ autosaving and this causes issues with the sandbox in Lion/Mtn. Lion).
Also, a better way to find the plist name for an app, is by running the following command:
osascript -e ‘id of application “NAME OF APP”‘
sorry should be:
osascript -e 'id of application "NAME OF APP"'
(without auto-corrected quotation marks)
Or in other words:
For TextEdit you need to run BOTH commands.
Please correct you factual ERRORS, OSXDaily!
This is a good effort, but it is still too much of a pain, as it needs to be done for each applications. I want a global solution to disable versions and autosave.
In my opinion this should be done by selecting a file system when formatting the hard drive. I know this is not necessarily tied to the format of the hard drive (or maybe it is), but it seems like a good out of the way place to make the decision.
In any event all these hacks to make OS X as useful as it once was are analogous to polishing the brass on the titanic. If you don’t want iOS as your laptop OS, then you need to start looking for alternatives.
Have fun with Snow Leopard.
Like I said in the other thread I just want to get one more year out of this laptop on OS X. My desktop work flow switched to linux after I realized the direction apple was heading. The only problem is that apple’s bastardized version of UEFI does not play well with linux. If this were not the case, I would have linux on my laptop as well.
I agree that this isn’t a viable solution (especially for the average user).
Apple has really turned into a nasty, totalitarian corporation the last few years.
R.I.P. Good old Apple
the problem I have is that disabling the autosave/versions junk makes the save as menu item disappear (in ML GM)
I have tested the command in Mtn. Lion, and Save As was still present in most apps there too. The only apps I tried where it was missing, was Preview and iWork. A workaround is to use the “Export…” menu item in these apps (which is very similar to Save As) and assign cmd+shift+s to that instead (cf. https://osxdaily.com/2011/11/30/how-to-save-as-mac-os-x-lion/).
Right. I was referring to iWorks.
I will check the Export (but I believe it exports in PDF, jpg etc, not in the original Pages-Numbers-Keynote format). I am not sure though, since I moved back to MS Office already. But I’ll check.
I never understood what app has autosave…