Tony, Nope, and it's all thankfully a moot point now. Have things well in hand; e-mails only go when changes occur, and only the changes themselves are being sent. Things like this are great for a noob like myself...I always learn a BUNCH by getting a push in the right direction but then having to stumble through it for a bit. My script probably isn't the most elegant bit of work ever but it does work. I ended up using the diff utility and just had to explain to the users getting the messages how to read what it's giving them.
I do have one parting question for you and the group regarding doing this "monitor for directory/file changes and notify via e-mail" process in a script (using ls, diff, and so forth) vs. using a more targeted utility like fam...is one path significantly superior to the other, and if so, why? Thanks again for yours and everyone else's help! Stuart -----Original Message----- From: Anthony E. Greene [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 11:04 PM To: [EMAIL PROTECTED] Subject: Re: program to monitor directory changes (new files) and send e-mail On 17-Mar-2003/08:35 -0500, "Douglas, Stuart" <[EMAIL PROTECTED]> wrote: >Yikes...it's the topic that won't go away... :) > >Everything is working, just a little too well. Take a look at the script >below...no matter how I structure the two snapshot ls files that are >compared, they are ALWAYS deemed different and so always result in an >e-mail notification being sent. I've tried it both with/without the >--full-time option, and also with/without the pipe to the md5sum >function. The sumfile is not in the watchdir is it? Tony -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list