Many Mac users are fortunate enough to have more than one machine. Whether it’s a home desktop and laptop, or a home and office machine, it can be very useful to keep some form of continuity between the two systems. This is easy enough to do with individual files — simply using an online service such as Dropbox or Syncplicity to keep everything synchronized between two machines. But what about applications?
This article will explain how easy it is to keep many popular applications in sync between more than one computer. It doesn’t involve putting all your data on ‘the cloud’ — you still have a local copy if a service closes down for any reason. The steps outlined work for the applications noted here, and may well be applicable to a different piece of software you’d like to keep synchronized. We’ve previously written how to achieve something similar for your iTunes library, but will now take the idea a little further, extending it to other apps.
How Does It Work?
Every application on your Mac has some form of preference or library file — this is where all your application data is stored. What this solution proposes is to store this file on the Dropbox server, rather than simply as a local file. It means that whenever the file changes on one computer, the change is automatically copied across to another machine. When you open the app on another Mac, everything should look the same as you left it previously on the other computer.
Is It Secure?
Dropbox is an extremely secure service, encrypting your information before transmitting it across the Internet. In addition, it supports file ‘versioning’ — this means that if you find that your application preferences are accidentally corrupted or overwritten, it’s simple to revert to an older version through Dropbox. If anything, placing your application library or preferences in more than one location is safer that relying on one sole computer.
Many of the applications which are bundled with your Mac are able to sync through Apple’s MobileMe service — iCal, Address Book, Mail, Dashboard and Safari Bookmarks for instance. This works great, and you might not need to use the Dropbox strategy for those applications. I’d recommend sticking to MobileMe for these, as it ensures syncing works well with your iPhone or iPod as well as between Macs.
The first step is to create a Dropbox account if you haven’t already. You receive 2GB of storage for free — probably enough for most simple applications — but you can upgrade to more if you’d like to keep a more data-heavy app in sync. The next step is to locate the library file for that application. For the purposes of this walkthrough, I’ll be using Things, a popular task manager.
The location of the library for Things is at:
User > Library > Preferences > Application Support > Cultured Code > Things
The path is likely to be similar for other applications, and a few examples are shown later on.
Moving Files and Syncing with Dropbox
The next step is a little more complicated. Essentially we need to do two things:
- Move the library into your Dropbox folder
- Create an ‘alias’ to tell Things where to find the new library location
First, close the application in question — ensure that it is completely shut down. Before you do anything, back up the library or preferences file — I can’t stress enough that you should make a copy of the file(s) you’re planning to move, to ensure that if you make a mistake at any point you’re able to simply put them back as before.
The next step is to move the library to your Dropbox folder, usually User > Dropbox. It should sync as normal.
At the moment, when you open Things it will still look for the library in the original location. This is no good, and we need to create an ‘alias’ in place of the library to point Things to your Dropbox folder. This takes three steps:
- Right click the ‘Things’ folder in your Dropbox area, and click ‘Make Alias’
- Move the alias which is created (represented by a folder with an arrow) to the original location: User > Library > Preferences > Application Support > Cultured Code
- Rename the alias to whatever the original folder or file was called, in this case simply ‘Things’
Here are a couple of screenshots showing a ‘before and after’ view of our library folder:
Showing the original Things folder, before we moved it to Dropbox
After moving the original folder and replacing it with an alias, this is what you should see
Opening Things should now work as normal, with the application automatically being redirected to the new location of your library.
Setting Up Your Second Computer
You then need to follow the same process on your other computer. Providing you don’t have any information in the application, delete the library file and create an alias from your Dropbox folder in the exact same way.
I wouldn’t recommend using both computers at the same time as you’re likely to lose data, but moving from one to the other (and closing Things each time) should ensure that your data is kept in sync wonderfully!
Things is simply used as an example here. A few other applications, along with the location of their library/preferences data are:
I hope you’ve found the walkthrough easy to follow and feel confident to experiment with syncing application preferences and data between your Macs. Providing you always back up your information first, there’s no harm in trying the process out with any of your favorite apps.
I’d be interested to hear how you get on, and do let me know which applications you end up syncing on a regular basis!