Hi.

I try to create a duplex sync between client/server via two rsync calls.

First step: Send new or updated files.

# rsync -a -c -r -z -u --progress --delete --files-from=rsync-list.txt $SOURCE 
--filter='. rsync-filter.txt' $TARGET/


Second step: Receive new or updates files.

# rsync -p -g -c -r -z -u --progress $TARGET/* $SOURCE


That works fine for most circumstances. But the first command deletes all files 
from the receiver, even if they are newer.
Changing the content (for differen checksum) or mtime of the receiver's file 
doesn't work. How to prevent that behavior?


Regards,
Mit freundlichen Grüßen,
Mike Reiche | Softwareentwicklung

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to