Apr
2
inotify+Sersync实现不同服务器上文件同步
inotify:linux的系统特性,可监控一目录,如果有文件增、减、删就会触发。(详细请查 百科)
Sersync: 金山开源的一个服务器文件同步工具。 详见: http://blog.s135.com/sersync
类似的方案:
inotify与rsync
相关工具:
inotify-tools (用来激活脚本)
利用SVN的post-commit
sersync2配置: http://hi.baidu.com/johntech/blog/item/be8559d2ebc99282a1ec9c18.html
http://hi.baidu.com/johntech/blog/item/f88fef2868203196033bf6a2.html
http://hi.baidu.com/johntech/blog/item/3b6f408b4caa0abe0e2444c9.html





