ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Keeping Your Life in Subversion
Subject:   Try "unison"
Date:   2005-01-18 12:06:37
From:   wob
Hi,
on my machines, I have been using unison to keep my home directory in sync over the last 3 years or so. unison is based on rsync for individual file transfers, but also keeps track of renames to minimize the amount of data to transfer over the net.


So far, it has never let me down, and has proved an excellent tool - one unison command and any two of my machines are in sync again. Since I sync at least once a day, the different homes never diverge.


Furthermore, there is no server. I imagine if your SVN server goes belly up, which is bound to happen at the most inconvenient time, you will not be able to keep your homes synced (using only svn) until you have re-installed it.


Finally, unison doesn't keep two copies of every file. Of course, you cannot "go back in time" with it like with svn, but I've never missed that feature so far.