Search
Close this search box.

OSX Quick Tip: Back-up your Mail with Automator

Table of Contents

Today’s Quick Tip comes from macosxhints.com.  This simple Automator workflow will back up all of your Mail for you

1. Start Automator
2. Drag drop ~/Library » Preferences » com.apple.mail.plist and ~/Library » Mail into the Automator panel. This will automatically create an Automator action (Get Specified Finder Items) containing the two items you dropped.
3. In Automator’s Library column, go to Finder and choose Create Archive. Drag it to the work area on the right, below the existing command. Change the ‘Save as’ value to something other than archive, if you wish.
4. In the Action column, drag Rename Finder Items into the work area, below the other two commands. By default, this will add a date and time stamp to the existing filename.
5. Save the whole Automator workflow as a Program (you can choose this option in the Save dialog).

This workflow will create a file named Archive-xx-xx-xx-xx.zip in your Documents folder (unless you changed some of the settings) containing a zipped archive of your Mail folder and settings for the current user.

You can tweak this workflow in Automator to ensure that it works best for you, but the basics here should get you up and running.

Kokou Adzo

Kokou Adzo

Kokou Adzo is a stalwart in the tech journalism community, has been chronicling the ever-evolving world of Apple products and innovations for over a decade. As a Senior Author at Apple Gazette, Kokou combines a deep passion for technology with an innate ability to translate complex tech jargon into relatable insights for everyday users.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts