Good way to compare file time between hosts ?

From: Sweatt, Wayne <sweatt_at_dps.state.nm.us>
Date: Mon, 10 Jan 2000 17:17:23 -0700

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
***********************
Received on Tue Jan 11 2000 - 00:18:30 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT