Tuesday, October 11, 2011

User-assisted syncing

I have written a script, that helps with keeping 2 directories in sync, providing changes are made in both places, and a merge must be made. Git, CVS or analogues proved to be too slow, while rsync and derivatives don`t handle changes in both places at once well. Besides, the latter are automatic, which doesn`t give you much control over what version is being preferred. Also, in case a file gets damaged, you woudn`t know.

It`s a little buggy (doesn`t handle exceptions well), and something will be changed/improved.

Being bref, http://pastie.org/2678717. Follow the updates!

No comments:

Post a Comment