Is it possiable to suppress the site-specified messages?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Is it possiable to suppress the site-specified messages?

Hongyi Zhao
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:  [hidden email]                          |
|_______________________________________________________________|


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 :.

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Is it possiable to suppress the site-specified messages?

Wayne Davison-2
On Fri, Apr 17, 2015 at 8:51 PM, Hongyi Zhao <[hidden email]> 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..

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Is it possiable to suppress the site-specified messages?

Hongyi Zhao
On Sun, 19 Apr 2015 09:43:26 -0700, Wayne Davison wrote:

> On Fri, Apr 17, 2015 at 8:51 PM, Hongyi Zhao <[hidden email]>
> 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 :.

--
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