most recent updated files on destination

Matt McCutchen matt at mattmccutchen.net
Sun Aug 31 13:15:23 GMT 2008


Ivan, please CC rsync at lists.samba.org so that your messages are archived
for others' future benefit.

On Sun, 2008-08-31 at 11:40 +0200, Tyler Durden wrote:
> I already now the behavior of the -u option, but I want to know if
> other option exist to do this. How you say me that is not possible I
> want to suggest that the -u option would do this action in future
> changes since in man pages acclaim.

I'm quite certain that the -u option is not going to change to do a
two-way synchronization in a future version of rsync.  Use either two
rsync runs (rsync -u dirA/ dirB/, rsync -u dirB/ dirA/) or a tool such
as Unison that is designed for two-way synchronization.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080831/161a1f8d/attachment.bin


More information about the rsync mailing list