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.

  • 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!



Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Instant Website Review

Use Woorank to analyze and optimize your website to improve your website to improve your ranking!

Run a review to see how your site can improve across 70+ metrics!

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