prevent newer file from being written on
Paul Slootman
paul+rsync at wurtel.net
Tue Sep 4 09:21:43 GMT 2007
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
More information about the rsync
mailing list