我的番茄炒蛋
生活如此精彩,挑战无处不在!

导航

 
inotify监听+rsync
search from google
/opt/inotify/bin/inotifywait -mrq -e create,move,delete,modify /test/www | while read file;do
rsync -uahqzt --delete --password-file=/etc/swd/rsync.secrets /test/www/ www@192.168.2.3::www
done
posted on 2009-12-26 09:49  bluesky  阅读(180)  评论(0编辑  收藏  举报