On Tue 04 Sep 2007, OOzy Pal wrote:
> 
> I am using this to sync two dir
> 
> rsync -a -v -r orig/ new \
> --exclude "d.zip" \
> --exclude "a1"
> 
> Now, how can I prevent files in the orig dir from overwriting newer
> file in the new dir?

A simple search for "newer" in the manpage shows as first hit:

    -u, --update          skip files that are newer on the receiver


Paul Slootman
-- 
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