We use rsync to copy files and directories from one server to the other. What options should I give to rsync so that it only copies the modified files? For example server1 may contain a dir which contains just one file that has been modified, how do I get rsync to copy just that one file over? I would like rsync to copy over the files which have been modified on the server1 to server2.<br>
<br>This is the command I have been using from server2:<br><br><p class="MsoNormal">/usr/local/bin/<span class="il">rsync</span> -a -A -h -u -p --progress --rsh=/usr/bin/rsh --<span class="il">rsync</span>-path=/usr/local/bin/<span class="il">rsync</span> --exclude=/bin --exclude=/dev --exclude=/etc --exclude=/export --ex</p>
<p class="MsoNormal">clude=/home
 --exclude=/lib --exclude=/mnt --exclude=/net --exclude=/opt 
--exclude=/platform --exclude=/proc --exclude=/sbin --exclude=/system 
--exclude=/tmp --exclude=</p><p class="MsoNormal">/usr --exclude=/var --exclude=/kernel --exclude=/devices --exclude=patches --exclude=/cdrom root@191.1.1.85:/ .</p><br>