On Mon, 22 Sep 2014 20:12:08 +0200 Hans <hans.ullr...@loop.de> wrote:
> Am Montag, 22. September 2014, 17:59:33 schrieb Joerg Desch: > > Am Sun, 21 Sep 2014 11:45:23 +0200 schrieb Hans: > > >> Unison doesn't use rsync. As far as I know, Unison uses a rsync > > >> alike algorithm which is bidirectional, while rsync is only > > >> unidirectional. > > > > > > Nope, rsync is bidirectional, too. > > > > Are you shure? I'm only aware of the unidirectional sync. The man > > page tells me this as description: > > > > Rsync is a fast and extraordinarily versatile file copying > > tool. It can copy locally, to/from another host over any remote > > shell, or to/from a remote rsync daemon. > > > > Which option enables bidirectional syncing? How are conflicts > > handled? I could find the infos in the man page. > > Maybe I am wrong with the term "bidirectional", but you can tell > rsync which way to syncronise. Say there are two computers, Adam and > Eve, and you are sitting at Adam. > > You can say > > rsync -a Adam-IP/Folder Eve-IP/Folder > or > rsync -a Eve-IP/Folder /Adam-IP/Folder > > The first one is always source, the second target. > > However, maybe I did misunderstood the term bidirectional! > No, but possibly the terms 'full-duplex' and 'half-duplex' might work better here... Unison will synchronise both ways with *one* command, except for conflicts where the same file has changed in different ways, or where permissions do not allow overwriting or deleting. Effectively it issues two rsync-type commands, plus a bit of administration. Unison is explicitly designed for synchronising two working directories, whereas rsync might be used for several other kinds of backup, normally one-way only. Unison can be used from the command line, but is then much less versatile than rsync. It really exists to make quick pointy-clicky work of a routine desktop task with locally-mounted directories. For remote use, it expects local NFS or samba mounts. -- Joe -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140922195924.0405f...@jresid.jretrading.com