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

  • Hey Siri, What Can You Do?

    So, I am a little embarrassed to admit it but I bought an Amazon Echo to check out how Alexa compares with Siri. I’m a gadget guy so we will see if we find it useful and if not, I am sure I can find it a home on eBay. I use Siri more and more these days. My most common uses are asking her to settle trivia disputes with Grace or setting the timer for 5 minutes. But there is a lot more that Siri can do!

    Make Relationships with Siri
    When you speak Siri commands, you can refer to people by relationship, rather than name. So, if you want to call your father, you can say “call my father” instead of saying “call Bruce Leibowitz.” But to do this, you need to introduce Siri to your family. First, make sure you have a “card” in the Contacts app for yourself, and then go into Settings > Mail, Contacts, Calendars, scroll down to find and tap My Info, and select your card. Next, make sure you have a contact card for your father, and then tell Siri, “Bruce Leibowitz is my father.” Or, if Siri doesn’t hear you correctly, open Contacts, edit your card (not your father’s!), scroll down, tap “add related name,” tap the default relationship to pick “father,” tap the info “i” icon, select your father’s card, and tap Done.

    You can even use Siri to remember other types of relationships. Artie used to bring manure from his uncle’s farm for my garden and ended up with the nickname, “the spreader”. If I tell Siri “Art Hendrickson is my spreader” I can now just say “text my spreader…” and Siri knows who I am talking about. This works for nicknames but also for lawyers, accountants, doctors or any nickname you want to tell Siri about.

    Take a Picture
    Instead of fumbling to launch the Camera app on your iPhone you can just say “take a picture” and Siri will automatically open the Camera app and you can snap away.

    Siri Converts
    Need to know how many millimeters are in 4 inches? Just ask Siri and you will find that there are 101.6 mm in 4 inches. This works for currency exchange rates, too. Ask Siri how many Euros are equal to $100US you will find that 87.73 Euros is the exchange rate today. Siri has some other strong calculation features too. You can ask Siri how many calories there are in that fish sandwich or to calculate a 20% tip on your restaurant bill. You can ask her to solve math problems involving fractions and other math functions that will be faster than opening the calculator app and punching in the numbers.

    Settling Up
    Okay you can use Siri to look up baseball stats or other information to settle a dispute but what if you are at loggerheads and just want to get a random answer and don’t have a coin to flip. You can ask Siri to “roll the dice”, “flip a coin” or pick a random number.

    Name that Tune
    Siri is integrated with Shazam to help you figure out what song is playing. Just ask her “what song is playing?” and she will listen and let you know and probably try to sell you the song, too!

    Find that Photo
    Siri can search your photo library for you. I know how frustrating it is if your are like me and have literally thousands of photos. You can say something like “find that photo from Daytona Beach from last March” and Siri will launch Photos and take you right to any photos taken at that place and time.

    Siri Takes You Out
    Siri can make your restaurant reservations for you, too! Tell Siri “make a restaurant reservation for four at 7PM” and she will respond with available restaurants nearby and if you have the Open Table app installed can make the reservation for you or give you the phone number to call.

    Are We There Yet?
    If you are using your iPhone for navigation you can just say “ETA” and Siri will let you know how much longer you are gonna be on the road.

    Leave Me Alone
    Siri can do a lot for you but sometimes you just want alone time. You can tell Siri to turn on “do not disturb” and you will not be bothered. Or tell her to “turn on airplane mode” and she will turn off Wi-Fi and cellular signals.