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

From find man page:
  -cnewer file
    File’s status was last changed more recently than file was modified.

JD


      
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to