wsgzao / sersync Goto Github PK
View Code? Open in Web Editor NEWrsync+inotify-tools
Home Page: http://wsgzao.github.io/post/sersync/
rsync+inotify-tools
Home Page: http://wsgzao.github.io/post/sersync/
比如根目录下有/test/test.txt这个文件,想单独过滤掉不同步,使用
<filter start="true"> <exclude expression="^test/tes(.*)\.txt"></exclude> </filter>
或者
<filter start="true"> <exclude expression="^test/test.txt"></exclude> </filter>
都不能过滤掉,一样还是会被同步
虽然有错误重传机制,但是发现这些错误的文件已经同步成功了。还有个问题是错误重传的时间是根据错误脚本日志最后的修改时间来的,这个能修改吗
再使用serync的时候我填写的目录为/www 但是子目录下的/www/a/1.txt 修改后不能被同步,只有/www目录才可以被同步。如果是我配置有问题,请作者教一下我具体是哪个 谢谢 我的qq邮件 [email protected]
我在我自己的博客服务器上使用了sersync,我感觉挺好用的,还写了一篇文章 https://www.xiebruce.top/753.html,可是我看项目已经是4年前的了,没有任何更新,有点担心以后会不会出问题用不了,所有问题也没有任何回复,作者你就算放弃了项目也得说说吧?或者你认为目前没什么问题,所以没有更新,但至少回复一下,让我们知道一下吧?最后,还是感谢你提供的sersync这个工具,至少我觉得还是挺好用的。
博客链接打不开了,为什么呢
求教:
站点目录/wwwroot/下有很多个网站,网站代码是从一台svn服务器同步过来的,现在需要把多台生产服务器之间的生产文件目录做双向同步,想直接一个配置文件监听/wwwroot/目录,然后把所有站点的非生产目录过滤掉,不做监听,这个正则要如何写呢?试了一下“?!”,但是没什么用。折腾了好久才把同步搞定,就卡在这点,实在不想再换同步方式了。
......
<filter start="true">
<exclude expression="^(?!.*?uploads).*$"></exclude>
</filter>
......
<localpath watch="/wwwroot/">
<remote ip="10.0.0.100" name="file"/>
</localpath>
......
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.