Two same rsync commands give different results on two debian mirrors.
hongyi.zhao at gmail.com
Tue Apr 14 04:16:18 MDT 2015
On Tue, 14 Apr 2015 11:36:20 +0200, Paul Slootman wrote:
> ou should ensure your messages don't mangle the command lines you want
> to show. You could have inserted a \ and a newline before the hostname:
> $ rsync -rmnv -f +_README -f -_* \
Thanks a lot for your hints. I'll do by using the trick from now on ...
>> In fact, the issue I meet is as follows, see the following for detail:
>> 1- If I append the `/' in the end of the tree, I'll succeed:
> That's right, by appending the / you start at the contents of the given
> directory, not with the directory itself. Without the / rsync needs to
> recurse into the directory, but you've excluded '*' in your filter so it
> can't reach the README.
Thanks a lot for your notes.
>> But for the case when use of the following rsync server, both case will
>> werner at debian:~$ rsync -rmnv -f +_README -f -_*
> This is because the ::debian part is not a directory, it's a module name
> and hence the starting point is the contents of the module's directory,
> which contains README so that can be found.
Again, thanks a lot for your notes.
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
More information about the rsync