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

  • mrcaffeinex - Wednesday, July 20, 2011 - link

    I purchased a MacBook Pro when Leopard was due to come out. Apple mailed me a free upgrade DVD about a month after I purchased the MacBook. When Snow Leopard came out I purchased the upgrade DVD for something in the neighborhood of $30 if I remember correctly. I've done clean installations from all of the media and never run into an activation/registration problem.

    On the flip side, I paid $149 for Windows XP, another $149 for XP 64-bit (if only there had been driver support back in the day...), $199 for Vista and another $149 for 7. Granted these were over a slightly longer time period. Still, I can't help but think that some of the initial investment cost of the Mac has been offset by not having to spend significantly more on software upgrades to get the features or functionality that I enjoy having at my disposal.

    Factor in the inconvenience of having several iterations of Windows that were more or less junk, but still cost the same and it slides the scale further in favor of OS X in my experience. Now I can also get what is essentially a household upgrade in Lion for approximately $30 if I decide it is worthwhile.

    Don't take this as an attack on Microsoft and their Windows operating system, though. It is still an integral part of my computing experience every day and I really enjoy Windows 7 (in fact, it runs better on my MacBook than on most notebooks I've worked on). I just wish they would adopt a strategy that would make upgrading Windows more affordable for the do-it-yourself PC enthusiast.
  • GotThumbs - Wednesday, July 20, 2011 - link

    The amount of money Apple made on your purchase of their hardware more than covers the cost of the OS. Microsoft does not sell their own brand of computers. You can purchase a PC laptop for hundreds less than you can purhcase an Apple MAC.

    Think McFly, think!
  • xype - Thursday, July 21, 2011 - link

    I love it how PC people have such a sweet feeling of entitlement.

    Have you ever had/bought/found a product that you were simply content with paying a premium for because it just worked well for you? Have you ever overtipped a waiter because the service was really good?

    You know, some people don’t have a problem rewarding either individuals or, yes, teh ebil corburayshns, for work/services well done.
  • GotThumbs - Thursday, July 21, 2011 - link

    ??? "feeling of entitlement" ???

    Not sure what you mean, but I do work hard for my money and do have a choice of where I spend it and how much I'm willing to pay for a product or service. There is a HUGE difference between tipping a waiter for working hard to provide you the best experience, than a company who sells consumers the same technology I can get elsewhere for less and be just as satisfied with my purchase. I'm not a 'Scrooge', but I'm also not a fool. Meaning: A fool and his money are quickly parted.

    I build my own systems so I not just satisfied with what is put out by the large PC sellers either. Most readers here are not satisfied with being 'spoon fed' what we should be satisfied with.

    If you or anyone else wish to purchase apple products, your free to do so. Just don't expect me to give you a pat on the back for it.
  • steven75 - Friday, July 22, 2011 - link

    You seem to have missed the entire point that Microsoft OS upgrades are *hundreds of dollars* per copy and Mac OSX upgrades are $30 for multiple copies.
  • wicko - Sunday, July 24, 2011 - link

    Umm, currently it is roughly 100$ for Home Premium (I paid 125 when I preordered Win7 Pro Upgrade edition), less at some retailers.

    Not to mention, you glossed over the fact that there does exist a "mac tax", which you would have paid on every mac you own, offsetting the total cost.

    Say I spend 2400 on 3 PCs (including OS) and you spend 3000 on 3 Macs. Performance is identical. It will cost me 300 to upgrade each one to Win7. It will cost you 30$ to upgrade all of your Macs. 2700 vs 3030, Interesting. I will have to go through another version of Win7 in order to catch up with you in cost. And I'm being generous with respect to the difference in price before upgrades.

    But, you know, you can install it on as many Macs as you'd like, so go nuts. Just don't pretend you're somehow spending less than those who buy Windows licenses.
  • anactoraaron - Sunday, July 24, 2011 - link

    Sure, but let's compare apples to apples (pun intended). If Microsoft were to charge $150 for what little differences there are from 10.6 and 10.6 + hybrid iOS called 10.7 windows discs would never sell (who the hell buys MS discs retail that reads AT anyway?? Newegg has always sold oem discs MUCH cheaper-wait apple person NM). But to sit there and tell me that there isn't any major changes from XP to 7... that's just ridiculous.
  • xyn081s - Monday, August 1, 2011 - link

    I think you're the one who missed the point. Even with all these Win licenses, it'll still be cheaper than a Mac. Plus, you can get the Family pack, 3 licenses for $150...
  • ex2bot - Friday, August 5, 2011 - link

    I know this comment was a few days ago, but I had a laugh at your comment, so I just had to open my digital mouth and reply:

    "2400 for 3 PCS ($800 ea.) and $3000 for your [POS] Mac".

    If you paid $40,000 for three Chevy Malibus and I paid $80,000 for my one souped-up Corvette" I would have gotten RIPPED OFF! (No, actually I would have received A LOT OF TICKETS!!)

    A better comparison is

    $800 PC vs. $1400 iMac . Not 800 vs. 3000. * Incidentally, you can sell your used Mac for a lot more than the technically equiv. PC. I've used that to upgrade my Macs several times.

    -Ex2bot
    Mac Fanbot

    * Think an $800 PC = Mac Pro? The Mac Pros have Xeon processors. You know better than I that Xeons are $400 or $500 each. The cheapest Mac Pro has *dual* E5620s @ 2.66. You can't build a octo-core Xeon machine for $800. And you've got to have a motherboard and a, what, case? Power supply? And a few other parts, right?
  • nafhan - Wednesday, July 20, 2011 - link

    So, you bought four copies of Windows for a single computer? You may be the only person to have done this... A more typical experience over that time period is: Windows XP "free" with new PC, and $100 to upgrade to Windows 7.

    With the amount of money you spent on OS licenses, you could have purchased both a Win XP computer (OS included) and a Windows 7 box (OS included) outright.

Log in

Don't have an account? Sign up now