Chinaunix
标题:
sersync
[打印本页]
作者:
rebortshu
时间:
2011-09-15 16:41
标题:
sersync
sersync 同步工具
<filter start="true">
<exclude expression="(.*)\.svn"></exclude>
<exclude expression="^info/*"></exclude>
<exclude expression="^static/*"></exclude>
<exclude expression="^tmp_.*"></exclude>
</filter>
filter过滤中,我想 不是以gz结尾的文件不同步,这个正则怎么写?
作者:
chenyx
时间:
2011-09-15 16:45
没用过那个工具,
<exclude expression="(.*)\.svn"></exclude>
复制代码
上面就是你说的排除规则吧,把svn替换成gz就行
作者:
rebortshu
时间:
2011-09-15 16:53
本帖最后由 rebortshu 于 2011-09-15 16:56 编辑
回复
2#
chenyx
我不是要排除gz的文件,我是想 排除 不是以gz结尾的 文件。换句话说,是gz的文件不排除。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2