码迷,mamicode.com
首页 > 系统相关 > 详细

linux unison inotify 文件同步

时间:2019-04-25 14:49:59      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:def   style   链接   文件同步   tail   upload   bug   erb   roo   

default.prf

#Unison preferences file 
root = /app/htdocs/project
root = ssh://bug@192.168.0.1//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 文件同步

标签:def   style   链接   文件同步   tail   upload   bug   erb   roo   

原文地址:https://www.cnblogs.com/jiafeimao-dabai/p/10768159.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!