Rsync doesn't copy over only the changed files

Matt McCutchen matt at mattmccutchen.net
Fri Oct 31 00:10:56 GMT 2008


On Thu, 2008-10-30 at 15:50 -0600, Chad wrote:
> The command I am using is:
> rsync -avl -n --stats --progress
> root at backup-server:/var/www/localhost/htdocs/Joomla Joomla
> 
> And I get all the files.  If I use -c --size-only or
> --ignore-existing; nothing changes.  Every file will be transferred.

That --ignore-existing has no effect is a strong indication that your
source and destination are mismatched.  You may have meant:

rsync -avl -n --stats --progress
root at backup-server:/var/www/localhost/htdocs/Joomla/ Joomla

See the second and third examples in the "USAGE" section of the rsync
man page.

Matt



More information about the rsync mailing list