Rsync doesn't copy over only the changed files
masterclc at gmail.com
Fri Oct 31 15:32:40 GMT 2008
On Thu, Oct 30, 2008 at 6:10 PM, Matt McCutchen <matt at mattmccutchen.net> wrote:
> 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
That was indeed the problem. Thanks!
> See the second and third examples in the "USAGE" section of the rsync
> man page.
The man page is really helpful, but I don't think I would have ever
caught the missing trailing slash. Thanks again!
More information about the rsync