This discussion is locked
lucafrombrooklyn

Q: Disable autosave

Hello, anybody figured out how one can disable autosave? I just *don't* want it, and I have my reasons.

Thanks,

 

l.

Mac OS X (10.7)

Posted on Jul 21, 2011 10:30 AM

Close

Q: Disable autosave

  • All replies
  • Helpful answers

first Previous Page 24 of 47 last Next
  • by softwater,

    softwater softwater Sep 16, 2011 4:01 AM in response to fuzzydog
    Level 5 (5,392 points)
    Mac OS X
    Sep 16, 2011 4:01 AM in response to fuzzydog

    Likely its running out quicker and quicker.

     

    Don't believe the Apple fairy-tale that Versions is an efficient way of storing your data. It's not.

     

    If you want to reclaim all that space, go delete the .documentrevisions-V100 folder in the root directory of your hard disk.

     

    Be aware that this will delete ALL Versions for ALL apps that support Versions.

     

    To do that, you need to enable the root user, show hidden files and change the permissions on the folder. Here's how:

     

    1. Show hidden files

    In Terminal (Applications > utilities) type

     

    defaults write com.apple.finder AppleShowAllFiles YES

    (press Return)

    killall Finder

    (press Return)

     

    2. Enable root user

    Go to  > System Preferences...Users & Groups

    Click 'Login Options'

    Click 'Network Account Server: Join'

    In the resulting dialogue box, ignore the text input and click the button below, 'Open Directory Utility'

    Click the padlock at the bottom of the next box and enter your admin password.

    At the top menu bar of Directory Utility, choose the 'Edit' menu > Enable Root User

    If you are requested to set a password for it, set the same one as your Admin password (this ensures you won't forget it).

     

    3. Change Permissions

    Now go look in the root directory of your hard disk.

    You should see a greyed out folder called 'DocumentRevisions-V100'. If it has a 'no entry' icon on it, click the folder and press 'Cmd-i' on the keyboard (or right click the folder and choose 'Get info').

    Scroll down to the bottom of the box, click the padlock, and enter your admin/root password. Change all the permissions to 'read & write', and click on the 'gear wheel/cog' and choose 'Apply to enclosed items'.

    Choose 'OK' in the warning dialogue box that appears.

     

    4. Deleting Versions history

    Now you are ready to go and look inside the Versions directory. I recommend you have a nosey about and check the file sizes both of the folder itself and of the individual contents. Now, here's warning: you can't just delete some of the contents in the folder. If you do, in about 24hrs Lion will see that the folder is corrupt and mark the whole thing as 'bad' and make a new Versions (.DocumentRevisions-V100) folder. What this means is that you will lose access to Versions in the UI, but you won't get your disk space back as it won't delete the 'bad' folder.

     

    The only option is to either lock the thing back up and leave it alone, OR delete the entire .DocumentRevisions-V100 folder with all its contents. What happens then is that Lion will make a new, empty folder to replace it, and start filling it up with versions you make from then on. You'll have reclaimed your disk space (and removed all your previous versions), but you'll need to keep doing the same process at regular intervals.

     

    NOTES

    a. No, this does not affect your original saves or any duplicates. Only the versions.

    b. Messing about as a root user can have serious consequences if you **** with other stuff. Do as the instructions above say and nothing else unless you know what you're doing. After you've deleted the Versions folder and emptied the trash, go back to Directory Utility > Edit and disable the root user.

    c. To stop seeing the hidden files, type the same command as given in 1. above into Terminal, but change 'YES' to 'NO'. Don't forget to do the 'killall' command afterwards.

  • by KOENIG Yvan,

    KOENIG Yvan Sep 16, 2011 6:59 AM in response to softwater
    Level 8 (41,790 points)
    Sep 16, 2011 6:59 AM in response to softwater

    I did that once and was forced to reboot because after the deletion of the .DocumentRevisions-V100 folder,

    I was unable to save a document.

    The reboot re-created a new .DocumentRevisions-V100 folder so the process needed to be repeated every day.

    This is why I wrote this script for an user which wanted a clean scheme.

    He saved the script as an application and inserted it in the list of items open on startup (in the Account Pref Pane).

     

    --{code}

    --[SCRIPT delete_versions]

    (*

    Yvan KOENIG (VALLAURIS, France)

    2011/08/29

    *)

    property redemarrageRequis : true

     

    tell application "System Events" to set les_volumes to name of every disk whose local volume is true

     

    repeat with un_volume in les_volumes

     

              set ledossier to un_volume & ":.DocumentRevisions-V100:"

              tell application "System Events" to set maybe to exists disk item ledossier

              if maybe then

                        set cheminUnix to quoted form of POSIX path of ledossier

     

      do shell script "chmod -R 777 " & cheminUnix with administrator privileges

      delay 2

                        do shell script "chmod -R 777 " & cheminUnix

      delay 2

                        do shell script "chmod -R 777 " & cheminUnix

     

                        try

                                  tell application "Finder" to delete (ledossier as alias)

                        end try

              end if

    end repeat

    if redemarrageRequis then

              set redemarrageRequis to false

              tell application "System Events" to restart

    else

              set redemarrageRequis to true

    end if

     

    --=====

    --[/SCRIPT]

    --{code}

     

     

     

    Yvan KOENIG (VALLAURIS, France) vendredi 16 septembre 2011 15:57:34

    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0

    My iDisk is : <http://public.me.com/koenigyvan>


    Please : Search for questions similar to your own before submitting them to the community

  • by softwater,

    softwater softwater Sep 16, 2011 7:05 AM in response to KOENIG Yvan
    Level 5 (5,392 points)
    Mac OS X
    Sep 16, 2011 7:05 AM in response to KOENIG Yvan

    Thanks Yvan. I didn't have that problem when I did it.

     

    Everything ran fine for 24hrs, though I must admit I don't recall whether in that time I actually tried to save any versions-supported files.

     

    As ever, your scripts are most appreciated. I will pass it on. Thx again.

  • by softwater,

    softwater softwater Sep 16, 2011 7:09 AM in response to KOENIG Yvan
    Level 5 (5,392 points)
    Mac OS X
    Sep 16, 2011 7:09 AM in response to KOENIG Yvan

    Yvan, sorry I posted too hastily.

     

    What exactly does this script do? Does it stop Lion from recreating the documentrevisions-v100 folder but still allow you to save files in Versions-supported apps?

     

    Have I understood it correctly?

  • by KOENIG Yvan,

    KOENIG Yvan Sep 16, 2011 7:15 AM in response to softwater
    Level 8 (41,790 points)
    Sep 16, 2011 7:15 AM in response to softwater

    I thought that I was clear.

     

    After deleting the folder documentrevisions-v100 as you described, I was unable to save documents.

    So I was forced to reboot.

    Doing that, the system create a new folder in which it store the versions.

    At next startup, if the script is installed as I described, the folder is deleted, the machine re-start creating a new folder

    Given that the folder never contain more than one day of versions.

     

    Yvan KOENIG (VALLAURIS, France) vendredi 16 septembre 2011 16:15:09

    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0

    My iDisk is : <http://public.me.com/koenigyvan>


    Please : Search for questions similar to your own before submitting them to the community

  • by softwater,

    softwater softwater Sep 16, 2011 7:23 AM in response to KOENIG Yvan
    Level 5 (5,392 points)
    Mac OS X
    Sep 16, 2011 7:23 AM in response to KOENIG Yvan

    At next startup, if the script is installed as I described, the folder is deleted, the machine re-start creating a new folder

    Given that the folder never contain more than one day of versions.



     

     

    No, that part wasn't clear, but it is now.

     

    Thanks.

  • by g.fromgent,

    g.fromgent g.fromgent Sep 21, 2011 5:22 PM in response to lucafrombrooklyn
    Level 1 (0 points)
    Sep 21, 2011 5:22 PM in response to lucafrombrooklyn

    Using 80+ images at a time in a single preview window used to work just fine: frequently rotating, adjusting color & contrast etc., and discarding the mess i made upon file close, Preview was the perfect tool for me. Autosave sort of killed it. The only thing approaching a workaround that i found so far, is to keep two sets of pictures (=several thousand x 2): one original set that i won't touch and one unlocked set to 'mess around' with. Copying the originals back into the sandbox once every while appears to be the fastest way of restoring all pics to their original state. The only thing left is having to unlock them but it's still the 'best' solution so far.

    Several more issues with Lion popped up along the way, nothing to do with Autosave but a nuisance anyhow. Will try to get back to SL. I like Apple, but i like it more to be in control of my own stuff, and not have someone else decide for me how to work.

  • by putnik,

    putnik putnik Sep 23, 2011 3:28 AM in response to Tom in London
    Level 3 (795 points)
    Mac OS X
    Sep 23, 2011 3:28 AM in response to Tom in London

    You might like to read this. With the proviso that it is not a procedure for anybody not prepared to take the risk of needing to re-install if it goes wrong. You always need good external backup of your data.

     

     

    http://hints.macworld.com/article.php?story=20110918051930924

  • by Maltz,

    Maltz Maltz Sep 23, 2011 9:48 AM in response to putnik
    Level 1 (4 points)
    Sep 23, 2011 9:48 AM in response to putnik

     

    putnik wrote:

     

    You might like to read this. With the proviso that it is not a procedure for anybody not prepared to take the risk of needing to re-install if it goes wrong. You always need good external backup of your data.

     

     

    http://hints.macworld.com/article.php?story=20110918051930924

     

    Those don't do anything about Auto Save, those are for saved application states, which are easily turned off in the Genral pane of System Preferences.  Well, except for the checkbox on reboot, but that isn't THAT cumbersome, and forgetting to do it doesn't really cause any harm.  Unlike Autosave.

  • by cesarpixel,

    cesarpixel cesarpixel Sep 30, 2011 8:29 AM in response to lucafrombrooklyn
    Level 1 (10 points)
    Sep 30, 2011 8:29 AM in response to lucafrombrooklyn

    I hope there will be a workaround in 10.7.2. Anybody with beta access can say if there's any hope? Otherwise, this might mean the end of OSX for me. I can't believe Apple has done this. I can't believe how a company in which *every* OS release has been innovative and a step forward, now we get this full nonsense.

  • by softwater,

    softwater softwater Sep 30, 2011 8:35 AM in response to cesarpixel
    Level 5 (5,392 points)
    Mac OS X
    Sep 30, 2011 8:35 AM in response to cesarpixel

    Nobody in Appleseed will comment on that here, but OSXDaily seem to spreading a rumour about what will be in the 10.7.2 release. They don't mention anything about fixing this issue...

     

    Personally, I have an inkling that Apple don't see disabling Autosave as an issue with the OS, but rather an issue with the user...

  • by cesarpixel,

    cesarpixel cesarpixel Oct 18, 2011 4:27 AM in response to softwater
    Level 1 (10 points)
    Oct 18, 2011 4:27 AM in response to softwater

    softwater wrote:

     

    Personally, I have an inkling that Apple don't see disabling Autosave as an issue with the OS, but rather an issue with the user...

     

    I've seen several apps updated to Lion that support the new features as a preference (the user can enable or disable autosave, versions, and resume from the app preferences). It seems that's the only scenario Apple considers (per-app preferences), and it also seems they're not willing to support such preference on TextEdit or Preview (too bad, because I no longer feel "safe" when opening a file with Preview).

  • by MccoQy,

    MccoQy MccoQy Oct 18, 2011 4:52 AM in response to lucafrombrooklyn
    Level 1 (37 points)
    iBooks
    Oct 18, 2011 4:52 AM in response to lucafrombrooklyn

    After spending some more time with OS X Lion, I can work a little bit with the "lock"-feature. I set the auto-lock in time-machine preferences to 1 day. This prevents unwanted changes for me normally.

     

    Still I sometimes use preview to resize/crop an image, then I copy and paste it into another application. I don't want to save the changes. Same for numbers, where I sometimes kill some rows and columns to c&p a small table to pages, but I want to keep the original file.

     

    To do this I choose "Duplicate" from the auto-save menu (http://support.apple.com/kb/HT4753 -> 3rd picture from top). In the duplicate I can do all changes, and when I quit the application I choose "Don't save" for the new document.

     

    This helps for most issues, but I still have trouble with very big files, where the auto-save function interrupts my workflow by showing a beach-ball for a second or two each time a new version is created.

  • by KOENIG Yvan,

    KOENIG Yvan Oct 18, 2011 6:38 AM in response to MccoQy
    Level 8 (41,790 points)
    Oct 18, 2011 6:38 AM in response to MccoQy

    MccoQy wrote:

    To do this I choose "Duplicate" from the auto-save menu (http://support.apple.com/kb/HT4753 -> 3rd picture from top). In the duplicate I can do all changes, and when I quit the application I choose "Don't save" for the new document.

    It's not the auto-save menu, there is no such one. Duplicate is an item of the File menu.

    This helps for most issues, but I still have trouble with very big files, where the auto-save function interrupts my workflow by showing a beach-ball for a second or two each time a new version is created.

    The culprit isn't the operating system, it's the app which as other iWork applications was not coded with brains but with feet.

    The save process requires the re-saving of the entire doc description.

    We may just hope that when an iCloud aware version will be available, the app will be able to save small chuncks. After all, isn't it what was described as iCloud requirement during WWDC's technical conferences ?

     

    Yvan KOENIG (VALLAURIS, France) mardi 18 octobre 2011 15:38:22

    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0

    My iDisk is : <http://public.me.com/koenigyvan>


    Please : Search for questions similar to your own before submitting them to the community

     

     

  • by hairynugget,

    hairynugget hairynugget Oct 18, 2011 6:41 AM in response to lucafrombrooklyn
    Level 1 (0 points)
    Oct 18, 2011 6:41 AM in response to lucafrombrooklyn

    Whilst I admire the skills and knowledge of those who are able and willing to create scripted solutions to this issue, and whilst I acknowledge the helpfulness of those who are offering partial work-arounds, I think there is a risk we may be losing sight of the fundamental point here, which, for me, is very simply that:

     

    As Lion stands at the moment, it does not allow me to control MY Macs and MY workflow in the way that I choose to.

     

    If I either have to risk unwanted changes to or loss of my data, or spend time and effort running scripts or workarounds (that others have been generous enough to provide but which I am both nervous of using and have insufficient time in my day to spend on doing) to prevent that,  then for me, Lion is a non-starter. It will remain so until Apple make changes to the out-of-the-box product that allow me regain proper control of my Macs and I will remain on SL either until those changes are implemented or I am forced to abandon the platform.

     

    If the latter is the case then it will be with regret, but I rely on my Macs to earn my living and chose the Mac (way back when) because until Lion it offered by far the most elegant and unintrusive means of doing so. With Lion and its nanny-state assumptions about what is 'good for me', that is no longer the case, and I will continue to exercise my rights as a consumer by voting with my cash. Whether or not that remains as an Apple customer remains to be seen...

first Previous Page 24 of 47 last Next