suppressing motd without decreasing verbosity

Tim Conway conway at us.ibm.com
Mon Mar 15 15:04:47 GMT 2004


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?






More information about the rsync mailing list