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

  • Spring Fever

    We’re all starting to chat the itch to spend some more time outside around the office. Most of us enjoy winter activities throughout the winter months, but we are coming out of one of the worst winters in a long time. There was little snow and many winter activities were cancelled over the past several months. To help get us out of the winter funk, we thought it was appropriate to celebrate “**Spring Fever**”:http://www.smalldog.com/springfever/spring-fever in our stores by putting together some great deals for accessories that you can use to enjoy the warmer weather that is upon us.

    Recently we have brought in products from several new manufacturers of speakers, headphones and iPhone accessories. One of my favorite new items that we have brought in are new “**Bluetooth speakers from Cambridge Audio**”:http://www.smalldog.com/product/87874/. These portable speakers come in a variety of colors, they easily sync to both your computer and iPhone (though not at the same time) and they have an auxiliary connection if you wish to plug the speaker directly into your device. We’ve all been impressed by the ease of pairing the speakers as well as the sound quality. These speakers normally sell for $99.99 but we have the titanium colored ones on sale for **79.99**. They are an excellent quality at this price point. Last week I introduced new Bluetooth headphones from “**BlueAnt**”:http://www.smalldog.com/category/?mmfg%5B0%5D=BlueAnt and we’ve decided to bundle these headphones with a **FREE** Belkin armband for iPhone 6/6s. We are really liking these new headphones! Check out these great “**Spring Fever deals**”:http://www.smalldog.com/springfever/spring-fever and more.

  • _Dear Friends,_

    I am off to Daytona for the 75th Bike Week. We went out to the 75th anniversary of the Sturgis Bike Week so it is only appropriate for us to hit the one sort of in our neighborhood, too. We will be riding on our 2003 Victory motorcycles and trying to avoid any big roads.

    Sugaring season in Vermont is well underway and this time of the year in Vermont always reminds me when we used to sugar the old-fashioned way. Now it is mostly pipelines and big sugaring operations but back when we lived in North Wolcott, Vermont I had a big work horse. The horse was kind of untrained but hitching her to the sled with the big heavy sap gathering tank made her behave. We would tap the trees by hand, hang buckets and as the sap began to flow we would tramp through the deep snow to empty the buckets into the tank. One horsepower was a lot of power as the horse would make her way through the sugar maples and the tank got full. We would take it to our makeshift sugaring arch and boil the sap into yummy syrup. Some of the best times! I still prefer the “grade b” syrup over fancy grade.

    This week’s Kibbles & Bytes exclusive brings back the “**Chill Pill six-pack special.**”:http://www.smalldog.com/wag900002006/ These little portable speakers have been around for a long time and I need to reduce our inventory. So, you can get 2 Black, 2 Red and 2 White Chill Pill speakers for only $29 this week. They make great gifts and are great for camping or just hanging out in the yard. Normally, they are $9.99 each but this week 6 for “**$29!**”:http://www.smalldog.com/wag900002006/

  • Watch Out for Modern Tech Support Scams

    Although Apple’s products and services generally live up to Steve Jobs’s phrase “it just works,” problems do occur, opening the door to scams…