[CentOS] reinventing the wheel? page checker

John Doe jdmls at yahoo.com
Thu Jun 21 14:00:27 UTC 2012


From: Bob Hoffman <bob at bobhoffman.com>

> So thinking of running a script every minute looking for files where the 
> date changed since 'x' date or something like that.
> Anything out there like that?

You have inotify that can monitor a directory for any change of the type you want.
Or make a script that "md5" the files and diff the results with a previous run:
  find $DIR -type f | while read F; do md5sum "$F"; done

JD



More information about the CentOS mailing list