Another heavily-publicized feature of Lion is Versions, which keeps older copies of files as you save new ones and allows you to go back to previous copies to compare, restore, and copy-paste things you didn't mean to change. Unlike Resume, applications will need to be changed to support this functionality.

In a Versions-supporting program like TextEdit or Preview, you'll notice that the normal "Save" or command-S function is now called "Save a Version" instead. There's no special command you need to know to save Versions - if the app supports it, this happens automatically.

 

When you want to go back and look at your previous versions, select the Revert to Saved option in the menu to open the Versions interface.

You'll be presented with a very Time Machine-esque interface that will let you browse through your previously saved copies, compare them to your working copy, and restore an old copy to be your new working copy.

So how does this work? Versions stores its data at the root of your OS volume in a hidden and locked-down folder called 'DocumentRevisions-V100". Files are saved using the UID for each user account (the UID is a unique number assigned to each user account at time of creation, and is normally hidden from the user. All UNIX and UNIX-like operating systems use UIDs for user accounts). In the screenshot below, "501" is my account's UID, and the numbered folders each correspond to an individual file.

Drill down into any of the folders stored here, and you can see where OS X is keeping the older copies of your files.

Whenever you delete the source file, all stored versions of it are also deleted, so don't try to use Versions to recover accidentally deleted files - that's not what it's for, and you'll still need to be careful about what you do and don't keep.

It's not immediately obvious how many files OS X will store versions for, or how much disk space this hidden folder will take up if you let it, but disk space seems to be the limitation here - I was able to save 63 versions of an individual file without overwriting any older copies. Given Apple's desire to hide the seams and inner workings of OS X from regular users, I feel confident in saying that (1) OS X won't allow this system folder to take up so much space that it impacts OS performance or storage of regular files, and (2) there's probably some sort of safeguard present that will eventually begin deleting older versions of things as disk space runs low. This is how Time Machine works, and Versions is obviously taking cues from that feature.

System Information Resume
Comments Locked

106 Comments

View All Comments

  • GotThumbs - Wednesday, July 20, 2011 - link

    Apple has recognized the money maker it has with its App Store (Or can we now call this an application store). I'm not a mac user and most likely never will be, but I have to say their business model works very well for squeezing income from every corner of their empire. The IOS app store has been a huge money maker (30% of every purchase adds up quickly) and now Apple is moving the same business model to its computers. Apple does have a tendancey to repackage and sell its products in various versions, but with the same underlying technology (develop once, repackage multiple times). True to form, all the apple fans will swarm around and gladly deposit their coin into the machine.
  • GotThumbs - Wednesday, July 20, 2011 - link

    Realistically, They should give away their OS to invite more users, who will then shop their true money maker....the app store. Kinda like a drug dealer would give the first taste for free. :-)
  • ltcommanderdata - Wednesday, July 20, 2011 - link

    Apple's CFO Peter Oppenheimer has already said they operate the App Store as a break even venture, ie. their 30% cut basically goes directly to operating expenses. Unless you believe their CFO is actually lying to investors at shareholder meetings in which case you should report this and your evidence to the SEC.
  • GotThumbs - Wednesday, July 20, 2011 - link

    $1,634,000,000 in revenue from Other Music Related Products and Services (3)

    (3) Includes sales from the iTunes Store, App Store, and iBookstore in addition to sales of iPod services and Apple-branded and third-party iPod accessories

    Lets not be too naive.
  • ltcommanderdata - Wednesday, July 20, 2011 - link

    The App Store no doubt generates revenue for Apple, but how much profit do they actually make?
  • steven75 - Friday, July 22, 2011 - link

    Please educate yourself. As much as you might think it, yuo aren't smarter than the SEC.
  • GotThumbs - Wednesday, July 20, 2011 - link

    I think ALL investors are looking for profits, and if Apple happens to turn a profit through their iTunes store (whoops), do you really think the investors will be angry about the white lie?
  • Taft12 - Wednesday, July 20, 2011 - link

    Accountants can paint a revenue picture to look any way they want it to. Look no further than "Hollywood Accounting" in the movie industry. Don't take that break even comment at face value.
  • parlour - Monday, July 25, 2011 - link

    I would call up the SEC and tell them about your great insight. If what you are saying is true Apple is in deep, deep trouble.

    In reality it would be stupid for Apple’s CFO to lie about something like that, not worth the trouble at all.
  • Puppies04 - Wednesday, July 20, 2011 - link

    $1,634,000,000 just to break even! Sheesh that is some massive overhead.

Log in

Don't have an account? Sign up now