From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079271218479.tru64-unix-managers.marc@archive.invalid> From: "Sweatt, Wayne" Date: Tue, 11 Jan 2000 16:58:02 +0000 To: tru64-unix-managers Subject: SUMMARY: Good way to compare file time between hosts ? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079271218479 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01BF5C55.0B07CF60" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BF5C55.0B07CF60 Content-Type: text/plain There were two utilities that could be used. rdist - Comes with the DU/Tru64 release. Used with the -y option will not copy over a newer file. rsync - Open source from samba.org. Would do the job as well. Ideal for mirroring. After reading the readily available man page for rdist, it seems that it will work fine. It's also simpler to set up (apparently). It has an option (-n) to use to for debugging (everything runs but the actual copy. Once again the greatest technical mail-list comes through ! Thanks to the following for their responses: Grant Ward Paul Sand Phil Thomas Garry Optland Richard Jackson Joel Votaw -----Original Message----- Dear Friends, I would like to keep certain files on my two member TruCluster DU 4.0D systems mirrors of each other. I'm talking about things like: /etc/routes, /etc/hosts, and Oracle's config files, etc. I have a script to copy a list these desired files over to the other but thought I would get slick and check the time on the files and then copy the newer one over the older one. Nothing's fool proof, but I thought this check would help. I don't want to use NFS for obvious cluster-wise reasons. I'm trying to avoid copying over the file to do the "find -newer" or GNU find version. Is there a fancy version of rcp out there that does this newer-to-older function? Thanks, *********************** Wayne Sweatt Principal Software Analyst Litton / PRC 505.827.9288 *********************** ------_=_NextPart_001_01BF5C55.0B07CF60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable SUMMARY: Good way to compare file time between hosts ?

There were two utilities that could be = used.
rdist - Comes with the DU/Tru64 = release.
        Used with the -y option will not copy over a newer = file.
rsync - Open source from = samba.org.
        Would do the job as well. Ideal for mirroring.

After reading the readily available = man page for rdist, it
seems that it will work fine. It's = also simpler to set up (apparently).
It has an option (-n) to use to for = debugging (everything runs but
the actual copy.

Once again the greatest technical = mail-list comes through !
Thanks to the following for their = responses:

Grant Ward
Paul Sand
Phil Thomas
Garry Optland
Richard Jackson
Joel Votaw


------_=_NextPart_001_01BF5C55.0B07CF60--