[CentOS] Detect file change
Alan Hoffmeister
alangtk at gmail.comTue Jan 26 12:31:57 UTC 2010
- Previous message: [CentOS] Detect file change
- Next message: [CentOS] Detect file change
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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?
- Previous message: [CentOS] Detect file change
- Next message: [CentOS] Detect file change
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list