#inofity安装

inofity安装

yum -y install libtool*
git clone https://github.com/rvoicilas/inotify-tools.git
cd inotify-tools/
./configure
make
make install

inotifywait -mrq -e modify,delete,create,attrib /www | while read FILES;do
echo "${FILES} chaged" >> /inotify.log
sh /rsync.sh
done

posted @ 2014-12-10 00:50  上官伟斌  阅读(368)  评论(0)    收藏  举报