linux unison inotify 文件同步
Posted jiafeimao-dabai
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux unison inotify 文件同步相关的知识,希望对你有一定的参考价值。
default.prf
#Unison preferences file root = /app/htdocs/project root = ssh://[email protected]//app/htdocs/project servercmd = /usr/local/bin/unison #force = true ignore = Path Application/Runtime ignore = Path Uploads/Home batch = true maxthreads = 300 #repeat = 1 #retry = 3 owner = true group = true perms = -1 fastcheck = false rsync = false sshargs = -C xferbycopying = true log = true logfile = /home/bug/.unison/unison.log
参考配置链接:https://blog.csdn.net/gw85047034/article/details/52064907
unison inotify安装目录 /usr/local/bin /root/bin
配置密钥 /home/hgx/.ssh
配置文件 /home/hgx/.unison
以上是关于linux unison inotify 文件同步的主要内容,如果未能解决你的问题,请参考以下文章
CentOS7.2下unison+inotify的Web目录同步方案