Web
Article

Replacing rsync with unison

By Blane Warrene

Thanks to Rui at the Tao of Mac – I was turned on to Unison to replace the volumes of rsync functions I use on various servers.

Unison synchronizes rather than mirroring as rsync does – making it valuable for workstations as well as development and production servers. To boot – it works on OS X!

The app, found here, can track two directories on two separate systems, or on two hard drives on the same system. It processes updates to both replicas in a bi-directional fashion rather than simply backing up or copying data from one side to the other. It can additionally work across platforms – so Windows can be synched with Unix and so on. Very nice.

It has config options for working with Subversion among others – which I finally have switched to from the crusty old CVS (I may have been one of the last according to some folks I have spoken with!). I also found its claim of carefully handling conflicts accurate. Like rsync – it of course can work over enrypted connections using ssh.

Free Guide:

7 Habits of Successful CTOs

"What makes a great CTO?" Engineering skills? Business savvy? An innate tendency to channel a mythical creature (ahem, unicorn)? All of the above? Discover the top traits of the most successful CTOs in this free guide.

  • http://www.shaunhills.com hillsy

    Another nice thing about Unison is that it runs on both *nix and Windows. It has a lot of uses – I actually use it to keep my laptop in sync with my desktop.

  • felipe alvarez

    not work adding GTK+ to windows just to get Unison up and running. I’ll stick with CWRSYNC (and DeltaCopy for my GUI-starved Father)

  • Some dude

    You don’t need GTK to use Unison, it’s just for the GUI application. Us cool dudes use it straight from the command line, old school dawg!

Recommended
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in Front-end, once a week, for free.