[comp.protocols.tcp-ip.ibmpc] rdate for pc-nfs

richard@uhccux.uhcc.hawaii.edu (Richard Foulk) (03/31/89)

I think I recall seeing a request for this recently...

Here's a very simple batch file that will set the mess-dos clock
from its server's clock.

rsh serverhost /bin/date +%m-%d-%y | date
rsh serverhost /bin/date +%T | time


Slow and funky, but it works.  It assumes that the server host
has the System V version of the date command (like SunOS).