Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ukma.UUCP Path: utzoo!watmath!clyde!cbosgd!hasmed!qusavx!ukma!david From: david@ukma.UUCP (David Herron, NPR Lover) Newsgroups: net.wanted.sources Subject: Program to check files for changes Message-ID: <458@ukma.UUCP> Date: Fri, 4-Jan-85 14:33:12 EST Article-I.D.: ukma.458 Posted: Fri Jan 4 14:33:12 1985 Date-Received: Sat, 5-Jan-85 23:23:23 EST Organization: Univ. of KY Mathematical Sciences Lines: 29 I was about to write a program that would keep a list of (a portion of) the files on a filesystem, and make a note whenever a file changes. The idea is to know what files need to be restored when catastrophe strikes. The program as designed so far would recursively look under certain directories, and note a change in the file if a "stat" of it comes out different than yesterdays "stat". Any differences noted would be collected in the master list and also sent to the root as a mail message. (Or a responsible party if the roots mail doesn't get read too often). Differences are one of: 1) change in "stat", 2) deletion, 3) new file. There was a program on the last usenix tape (called tron) which did something similar to this. However it was very system V specific, and specific to a local quota system, and very paranoic. I decided it would be better to write one from scratch. But before possibly re-inventing the wheel it might be better to ask if someone else has already done this. Or alternatively, I would be open to suggestions on features such a program should have. Thank you. --:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:- David Herron; ARPA-> "ukma!david"@ANL-MCS (Try the arpa address w/ and w/o the quotes, I have had much trouble with both.) UUCP -:--:--:--:--:--:--:--:--:- (follow one of these routes) {ucbvax,unmvax,boulder,research} ! {anlams,anl-mcs} -----\ vvvvvvvvvvv >-!ukma!david {cbosgd!hasmed,mcvax!qtlon,vax135,mddc} ! qusavx -----/ ^^^^^^^^^^^