suppressing motd without decreasing verbosity

Akop Pogosian akopps at CSUA.Berkeley.EDU
Tue Mar 16 00:09:15 GMT 2004


Yes, that's a possibility but unfortunately, I don't have control of
the remote site. I am surprised there is no way to to do this with the
client.


-akop

On Mon, Mar 15, 2004 at 08:04:47AM -0700, Tim Conway wrote:
> The simplest solution is to not have the rsyncd demand that clients 
> display the motd.  motd is not considered part of verbosity, so the only 
> way to shut it off on the client side is to have the client shut all the 
> way up.
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> cnwt99 at 78KZAZ2
> /home/cnwt99>man rsyncd.conf |grep -C 2 "motd file"
> 
>        motd file
>               The "motd file" option allows you to specify a "message  of 
> the
>               day"  to  display  to clients on each connect. This usually 
> con-
>               tains site information and any legal notices. The default is 
>  no
>               motd file.
> 
> 
> cnwt99 at 78KZAZ2
> /home/cnwt99>
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> Short of that, I'm stumped.
> 
> Tim Conway
> Unix System Administration
> Contractor - IBM Global Services
> conway at us.ibm.com
> 
> 
> 
> 
> 
> 
> 
> 
> Is there a way to make the rsync client suppress the motd without
> suppressing other messages when connecting to an rsync server? What I
> want is to run rsync from cron and have it produce output only when
> any files have been downloaded or deleted and whenever errors have
> happened.  Otherwise, I want it to be quiet. This doesn't seem to be
> possible with rsync as of version 2.5.7.
> 
> When I use the -v option, the motd and file transfers are printed.
> With either -q or -vq, nothing is printed. When I don't use any of
> those options, then motd is printed but file transfer is not reported.
> There doesn't seem to exist an option for reporting file transfers
> only, or is there something I am missing?
> 
> 
> 
> 
> -- 
> To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

-- 


More information about the rsync mailing list