Re: Rsync doesn't copy over only the changed files
On Thu, Oct 30, 2008 at 6:10 PM, Matt McCutchen <email@example.com> wrote:[color=blue]
> On Thu, 2008-10-30 at 15:50 -0600, Chad wrote:[color=green]
>> The command I am using is:
>> rsync -avl -n --stats --progress
>> root@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.[/color]
> 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@backup-server:/var/www/localhost/htdocs/Joomla/ Joomla[/color]
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!
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: [url]https://lists.samba.org/mailman/listinfo/rsync[/url]
Before posting, read: [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url]