First, to prevent the Preview application from eating up the storage space, just do the following:
- Go to Spotlight, and run Terminal
- Type defaults write com.apple.Preview ApplePersistence -bool no
The above steps will tell the Preview application not to store a copy of image whenever you edit it.
Now, the question is how do you remove all those backups? Well, I did it in the quick and dirty way. The step below will remove all the backups that Mac has automatically stored into your Mac so take note that you will lose all your backup, including the automatic backups that have been created by your other applications. Just type in the same Terminal application, sudo rm -rf /.DocumentRevisions-V100/
You will need to type in the password of the account that you're currently logged in. I've done it a couple of times to release the storage and so far my Mac has been functioning quite well. However, please take note that as you're removing a hidden system directory, this may cause your Mac to malfunction so take extra care before doing the above step.
What's the other alternative? Well, when you launch Preview, do a left-click on the name of the file that you see in the top middle section of the Preview application. Press the Option button down and you should see the option Delete All Versions. You have to do this for each and every image.
I tried it, and I gave up after a few images. It was too tedious. :(
Hope this helps.
4 comments:
Hi Little Corner,
Rather than to remove the system directory, why don't you just remove the files within it and leave it alone?
That is because it is the easiest. There are many sub-directories in this system folder and it's technically not possible to know which backup belongs to the file as the names are all "encrypted". Therefore it is safer to remove the entire directory.
No no Little Corner,
You misunderstood what I meant. I meant deleting everything inside the directory but leaving it alone. So rather than the command:
sudo rm -rf /.DocumentRevisions-V100/
Do this instead:
sudo rm -rf /.DocumentRevisions-V100/*
The latter will leave an empty directory.
Oh, now I understand. That will work too I guess. I deleted the directory as I read that the OS X will automatically re-create the directory.
Post a Comment