Did You Know Most Mac Apps Keep Versions of Your Documents as You Work?

We all make mistakes, which is why Undo exists. Immediately choose Edit > Undo or press Command-Z to undo your last change. Most Mac apps support multiple levels of Undo, so you can keep pressing Command-Z to revert change after change. However, suppose you delete a table in your Pages document, but 30 minutes and many changes later, you decide you want it back. Undo won’t help because you want to keep all the other interim changes, and Time Machine backups may not help because a backup may not have occurred at the right time.

Since OS X 10.7 Lion, Mac apps have been able to take advantage of a built-in Apple technology called versioning to save users from such situations. Apps that support versioning create a separate version of each document every time you save manually or the app auto-saves, at least once per hour. You can browse through all those versions in a Time Machine-like interface and copy data from a previous version or revert the current document to a previous state.

Some cross-platform apps, and those with a long history and legacy architecture, such as Microsoft Word, Excel, and PowerPoint, don’t support versioning, but most modern document-centric apps do. You can identify version-capable apps by the presence of a Revert To command in the File menu.

How Versioning Works

As you work, whenever a document is saved, either automatically by its app or because you chose File > Save or reflexively pressed Command-S, the previous version is added to a database of versions stored in a hidden folder on the same volume. When a file is deleted, all its versions are removed, too, so there’s no worry about wasting storage space on long-deleted files.

When you discover you need to recover some data from an older version of a file, you choose File > Revert To > Browse All Versions, which opens a Time Machine-like browser for exploring all the previous versions. On the right, you can click the arrows to scroll through previous versions, comparing them visually against the current one on the left. A few apps provide additional ways of comparing versions.

Once you’ve found the version you want, you can try copying the desired content and pasting it into the current version of your document on the left—depending on the app and type of document, you may not even have to leave the version browser.

If copying and pasting doesn’t work, you can instead click Restore to revert the document to that previous version. Unlike Time Machine, the version browser doesn’t ask if you want to overwrite the current version, so if you aren’t sure you want a wholesale reversion, press Option to change the button to Restore a Copy. That opens a separate copy of the document in the app so you can pick and choose what you want to move from the old version back into the current version.

More Versioning Details

Although versioning is easy to use, there’s quite a bit going on behind the scenes, which can generate some questions:

  • What about copies of a document? Copies of a document, such as you would make using File > Duplicate, File > Save As, or in the Finder, are different files from the versioning perspective and lose access to the original file’s versions.
  • Is iCloud Drive supported? iCloud Drive maintains its own version database, so although you may have to click a Load Version link to see a particular version when browsing past versions, they should all be accessible.
  • Are files shared between my Macs versioned? Versions are stored at the top level of the document’s volume, so while it works with files stored on an external drive that moves between Macs, files shared between Macs over a network or using a file-sharing service like Dropbox will have different versions on each Mac, based on where the file was open when it was saved.
  • Are there any privacy or security risks to versioning? The version database is completely locked down and better protected than regular documents on your Mac. Also, if you open a confidential file but close it without making any changes or saving, it won’t be added to the version database.

No one expects to make mistakes, but if you do, macOS’s versioning may save you from having to re-create work. Look for that File > Revert To menu in your favorite apps to see if they support versioning, and if they do, give it a try so you’ll know how to use it if you ever need it.

(Featured image by Adam Engst)


Social Media: If you ever regret making a change too long ago to revert using Undo, try the versioning capabilities in many macOS apps that let you view, copy data from, and revert to previous versions of a document.

Similar Posts

  • _Dear Friends,_

    I have become super aware of mosquitos with all the news about the Zika virus. For some reason biting insects just love me whether they are super tiny no-see-ums here in the Keys or slightly larger ones in Vermont they seem to be attracted to me. The first thing that I noticed about the mosquitos down here is that they are tiny compared to the ones that come out every year in Vermont. Seriously though, this Zika virus seems like a very serious health epidemic with the World Health Organization calling it a crisis. They have a pretty serious mosquito control program down here with guys that go door to door to look for standing water and spraying year around.

    Apple announced their holiday quarter financials and they beat the estimates on the street and posted the most revenue and profit ever for Apple and in a truly remarkable factoid, the most profit generated in a quarter by any public corporation, EVER. I will talk about the financial results below but let’s just say if Apple has reached a plateau it sure is a lofty one! Just to contrast that a bit against the other guys, Samsung reported a 40% decline in profits. They posted about a $15.8 billion profit for the entire year which Apple crushed in a single three month period!

    This week’s Kibbles & Bytes exclusive features the “**Apple Certified Reconditioned 21 inch iMac**.”:http://www.smalldog.com/wag900002135/special-apple-certified-reconditioned-21-5in-imac-2-7ghz-w-applecare-for-1099 This iMac is configured with a 2.7GHZ i5 processor 8GB of ram and a 1 TB hard drive. This model has the latest 802.11ac wireless protocol and comes with the same 1 year warranty as new iMacs. We are bundling it with Applecare so instead of a 1 year warranty you get 3 years and instead of 90 day days of free Apple technical support you get 3 years too. Kibbles & Bytes readers can purchase this special bundle for “**$1099!**”:http://www.smalldog.com/wag900002135/special-apple-certified-reconditioned-21-5in-imac-2-7ghz-w-applecare-for-1099 That’s the lowest price ever for a warrantied iMac with Applecare!

  • _Dear Friends,_

    Definitely some weird weather in Vermont. One day it is below 0 F and the next day it is in the 40’s and raining. It makes for some tricky driving as wet pavement can hide some black ice. Hopefully as we enter March there will be some snow because the ski areas and local merchants are suffering from the weird weather. We can take a lot of snow and freezing temperatures but this freeze/thaw cycle is just annoying.

    Apple has very strong hardware sales but their hidden gem may be the recurring revenue streams that they develop. Of course, we know about the 11 million+ subscribers to Apple Music that pay a monthly fee and the iCloud storage fees but there are other much larger streams that provide Apple with consistent revenue. The iPhone is a big one that has two parts to it – on the one hand, people want to upgrade to the latest iPhone and that upgrade business is huge. There is also Apple’s new financing of iPhones that spreads the cost of the iPhone over several months and allows much easier iPhone upgrades. The carriers are also offering these easy upgrade programs which enhances the recurring revenue stream. It is sort of like printing money.

    This week’s Kibbles & Bytes exclusive features the “**Apple Factory Reconditioned 21.5-inch iMac**”:http://www.smalldog.com/wag900002159 with 2.7GHz i5 processor, 8GB of ram and a big 1TB drive. We are bundling this with the AppleCare Protection Plan which extends Apple’s 1-year warranty to 3-years and extends your 90-days of free technical support from Apple from 90-days to 3-years. To complete this bundle because we always want you to have a backup of your personal data, we are including the Apple Factory Reconditioned 2TB Time Capsule. The Time Capsule is the combination of an Airport Extreme base station and 2TB hard drive. Because you are buying it at the same time as the iMac it is also covered for 3-years by AppleCare! Normally, if you bought this bundle new it would cost $1769, bought normally as Apple Refurbished it would be $1399 but this week for Kibbles & Bytes readers you can get this great deal on an iMac with Time Capsule and AppleCare for only “**$1299.99!**”:http://www.smalldog.com/wag900002159

  • The Most Profit Ever in a Single Quarter

    Apple posted record earnings and profit for the holiday quarter disappointing those analysts that predicted less than stellar results. Of course, the realistic guidance for the next quarter sent Apple stock plummeting while those same analysts maintain a price target that is $40-50 higher than the current price of the stock. Okay, so Apple’s profit and revenue were all time records for the company but the remarkable tidbit is that no public corporation ever has posted that much profit in a single quarter. Let’s see how Apple did that.

    First of all, Apple sold 74.8 million iPhones in the quarter. Not too shabby and that revenue is nearly 70% of Apple’s total. The average sales price (ASP) for the iPhone was up to $691 which also led to slightly higher gross margin. To put that is some perspective that is an average of 34,000 iPhones sold per hour 24/7 for 13 weeks.

    They finished the quarter with about $215 billion in cash which represents about $39/share. Macs sales were down a bit at 5.3 million units and the iPad continues to do moderate in sales with sales dropping year on year from 21.4 million units to 16.1 million units.

    Currency “headwinds” have caused some of these results to be muted. With the exceptionally strong dollar it is more difficult to export US goods and sales suffer a bit. The Euro and British Pound were down double digits and the Canadian and Australian dollars were down 20% or more. It gets worse. The Russian Ruble is down by 50% and Brazilian Real is down 40%. Apple estimated that if it were not for these global currency fluctuations that their revenue would have been over $80 billion representing an 8% increase. But despite those headwinds, Apple posted their best quarter ever.

    Other high points were service revenue which was the highest ever at over $6 billion. Wow, $6 billion in just iTunes, App store and a few other things. That is more revenue that quite a few well known companies and a 24% growth year over year. Other products which include the Apple TV, Beats and Apple Watch also were strong with $4.5 Billion in sales.

    In another milestone that just points to the success of the services side of Apple’s business Tim Cook announced that they now calculate that there are more than 1 billion Apple devices in use worldwide which is up 25% year over year. That is simply incredible considering that there are only 7.4 billion people on the planet!

    What sent Apple stock down was Apple’s realistic prediction that iPhones sales in their 2nd fiscal quarter would decline year over year by as much as 15-20%. Last year’s 2nd quarter was strong because of supply issues that moved some revenue from the 1st to 2nd quarter and the impact of the global currency situation has caused some price adjustments. Apple remains very bullish on the iPhone market and pointed to the fact that in China over 50% of the iPhones sold were to people buying their first iPhone. Apple pointed out that the growth of the middle class in China is unprecedented with the middle class comprising about 50 million people in 2010 and now it is projected to be $500,000,000 by 2020.

    Even if Apple sells “only” the 40-45 million iPhones in this quarter that would still be more revenue that most companies earn overall in a single quarter. To put this in perspective, Apple books more revenue at strong margins, than Amazon, Facebook, Google or Microsoft generate from all of their operations.

    All in all the financial results that Apple announced were an incredible testament to the quality and innovation of Apple products and of a company doing things right. Congratulations to the entire Apple team!