OK, tried all this out and am running into a problem. If I use your script as written, the exact phrase 'ls --full-time $watchdir | md5sum' is the only thing that gets written into the sumfile. I've tried a few things to change the syntax (switch the option and the $watchdir, added full quotes to the $watchdir, and so forth) but the effect is the same. What am I doing wrong?
I think this was answered, but try it this way:
newdirsum="$(ls --full-time $watchdir | md5sum)"
Tony -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: 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