Hongyi Zhao
2015-Apr-18 03:51 UTC
Is it possiable to suppress the site-specified messages?
Hi all, When connect to a remote rsync server, ofter it will give some site- specified messages, say, the following one: ------------ _______________________________________________________________ | University of Science and Technology of China | | Open Source Mirror (mirrors.ustc.edu.cn) | |===============================================================| | | | Debian primary mirror in China mainland (ftp.cn.debian.org), | | also mirroring a great many OSS projects & Linux distros. | | | | Currently we don't limit speed. To prevent overload, Each IP | | is only allowed to start upto 2 concurrent rsync connections. | | | | This site also provides http/https/ftp access. | | | | Supported by USTC Network Information Center | | and USTC Linux User Group (http://lug.ustc.edu.cn/). | | | | Sync Status: http://mirrors.ustc.edu.cn/status/ | | News: http://servers.blog.ustc.edu.cn/ | | Contact: mirrors at ustc.edu.cn | |_______________________________________________________________| receiving file list ... [snip] ------------ If I want to suppress the messages before the following line with rsync client's args/options when connect to this rsync server: receiving file list ... Is this possible or not? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
Wayne Davison
2015-Apr-19 16:43 UTC
Is it possiable to suppress the site-specified messages?
On Fri, Apr 17, 2015 at 8:51 PM, Hongyi Zhao <hongyi.zhao at gmail.com> wrote:> When connect to a remote rsync server, often it will give some > site-specified messages [...] > If I want to suppress the messages [...] >You're talking about the "motd", which has this option mentioned in the manpage: --no-motd This option affects the information that is output by the client at the start of a daemon transfer. This suppresses the message-of-the-day (MOTD) text, but it also affects the list of modules that the daemon sends in response to the "rsync host::" request (due to a limitation in the rsync protocol), so omit this option if you want to request the list of modules from the daemon. ..wayne.. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20150419/f3ab2cf0/attachment.html>
Hongyi Zhao
2015-Apr-20 04:18 UTC
Is it possiable to suppress the site-specified messages?
On Sun, 19 Apr 2015 09:43:26 -0700, Wayne Davison wrote:> On Fri, Apr 17, 2015 at 8:51 PM, Hongyi Zhao <hongyi.zhao at gmail.com> > wrote: > >> When connect to a remote rsync server, often it will give some >> site-specified messages [...] >> If I want to suppress the messages [...] >> >> > You're talking about the "motd", which has this option mentioned in the > manpage: > > --no-motd This option affects the information that is output by the > client at the start of a daemon transfer. This suppresses the > message-of-the-day (MOTD) text, but it also affects the list of modules > that the daemon sends in response to the "rsync host::" request (due to > a limitation in the rsync protocol), so omit this option if you want to > request the list of modules from the daemon.Got it, thanks for your hints. Regards> > ..wayne..-- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
Maybe Matching Threads
- Downloading a great number of files from different rsync servers for good loadbalancing and high efficiency.
- Finding specific files/directories from a remote rsync server.
- How to capture the stderr of rsync and redirect it into a file?
- On the case `an identical item replaces the dots with spaces' for `--itemize-changes'.
- The complicated filter rule used by me worked for one Debian mirror and not for the other.