[CentOS] Detect file change

Alan Hoffmeister alangtk at gmail.com
Tue Jan 26 12:31:57 UTC 2010

> You could do something like (untested):
>    CHECKFILE="/path/to/checkfile"
>    if [! -f $CHECKFILE]; then touch $CHECKFILE; fi
>    find -cnewer $CHECKFILE | myscript.sh
>    touch $CHECKFILE
> JD
I think that now we are on the way, but this script compare the 
CHECKFILE whit what?

More information about the CentOS mailing list