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 -_* \ > ftp.is.co.za::mirror/ftp.debian.org/ftp.us.debian.org/debian
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 >> succeed: >> >> werner@debian:~$ rsync -rmnv -f +_README -f -_* >> ftp.cn.debian.org::debian > > 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. Regards > > > Paul -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html