Re: Detect file change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 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?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux