[ale] Syncing two machines

Jay Goodman ale at goody.homelinux.net
Wed May 2 11:30:34 EDT 2007


At one point I was syncing my laptop and desktop with rsync.  Rysnc worked
well for a while until one time I modified the same file on both machines
between syncs.   One got blown away by my meager scripts.  Not so good Al.
  I switched to unison (available in most distros, or just google it). 
The setup is a bit more intense then whipping out a simple rsync command,
but unison will do conflict resolution by merging, obeying a master, or
asking depending how you set up your sync sets.  If I remember correctly,
it even uses rsync under its clothes.

> I have a laptop and a desktop, and what I want to do is keep a few
> directories in sync.  I can use rsync for this,   It's been a while since
> I've used rsync, but if I were to sync from my desktop to my laptop (given
> that my desktop has an empty dir and the laptop has the files I want), it
> would copy from the laptop over, or vice versa.  If so, then that might be
> what I want.
>
> Does anyone else out there do syncing between desktop / laptop?  If so,
> I'd love to hear what you're using.  Eventually I want to write a script
> to check if the desktop is online from the laptop and automatically
> perform a sync.
>
> --
> Brad Peters [sent via webmail]
> brad at endperform.org
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>




More information about the Ale mailing list