Hi Joe,

On 18/05/2012, at 8:15 PM, Joe Baker wrote:

> Hi all
> 
> I use TextEdit a lot to generate html/xml files. I have one standard working 
> file which is saved as something like ABC.xml. I open it in TextEdit and 
> write what I want and general re-read and re-edit it many times and 
> continually save it by using "Save a version". I also constantly view it in 
> Safari to see how the coding produces a good text display.

You don't need to "Save a version".

As you work on a document, successive versions are automatically saved 
periodically (at the rate of approximately one an hour). You can view these 
versions by choosing File > Revert to Saved, or by choosing Browse All Versions 
from the pop-up menu in the title bar of the document window. 
When you do, you see a Time Machine–like interface where you can choose an 
earlier version of the document.
The interface for browsing versions of a document. The current document is on 
the left; earlier versions are on the right.

Versions are only supposed to save once per hour, and autosave is supposed to 
only work when you're not active, and if you are, only once every 5 minutes.
Versions is basically like old-school saving, duplicates are kind of save-as, 
and autosave is a working-in-progress tool.


> I also regularly use Finder to search for names, places, etc. and these 
> include words that are to be found in my standard ABC.xml file. But with this 
> new version of TextEdit with "Save a version" the results in Finder includes 
> every version of my ABC.xml file that I have saved - hundreds of ABC.xml 
> files, they just keep growing.
> 
> No problem I thought I can just select and delete them.
> No such luck. I can select but right clicking produce no menu, let alone a 
> delete option.
> You cannot drag them to the Trash. They get selected but will not move.
> Selecting the various ABC.xml files does not show where they are stored (so I 
> am unable to go to a particular place and delete from there).
> Attempting to open them just says it can not be opened as the original item 
> cannot be found.

That is because 'Versions' are stored in the root-level, hidden 
.DocumentRevisions-V100 directory.

> 
> Before this flood of versions makes Finder impossible to use - how do I 
> delete all these versions.

Mac OS X 10.7 and later include the Versions feature and Auto-Save ability, 
this lets users restore back to previous editions of a file by creating a 
constant sequence of saved file states while they are being worked on. All 
around, Versions and auto-save are useful, but they can also leave traces of 
sensitive documents and files you may not wish to keep around. 

Other than the privacy implications, this same technique can resolve some 
erroneous behavior with Versions as well. 
The simplest solution to these issues is to manually delete the Versions saved 
states cache directory.

<http://osxdaily.com/2012/02/20/clear-versions-history-auto-save-cache-data-in-mac-os-x/>


Cheers,
Ronni

17" MacBook Pro 2.3GHz Quad-Core i7 “Thunderbolt"
2.3GHz / 8GB / 750GB @ 7200rpm HD

OS X 10.7.4 Lion
Windows 7 Ultimate (under sufferance)

















-- The WA Macintosh User Group Mailing List --
Archives - <http://www.wamug.org.au/mailinglist/archives.shtml>
Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml>
Settings & Unsubscribe - <http://lists.wamug.org.au/listinfo/wamug.org.au-wamug>