WinMerge 过滤器用法
来源:互联网 发布:80端口申请 编辑:程序博客网 时间:2024/05/26 09:56
WinMerge是一款开源的文件对比合并工具。
http://winmerge.org/
WinMerge提供了“过滤器”功能,可以在对比时排除特定的目录或文件。
1、编辑过滤规则
工具 -> 过滤器 -> Exclude Source Control -> 编辑 -> SourceControl.flt -> 在最后输入过滤规则
2、过滤规则简单说明
f: <正则表达式> 表示过滤文件名,如果正则表达工要过滤“.”,则前面要加 \ 转义
d: <正则表达式> 表示过滤目录
## 表示注释
3、过滤例子
(1)f: \.bak$
过滤所有.bak的文件名
(2)f: ^1.txt$
过滤文件名1.txt
4、规则测试
在修改过滤器的时候,有一个“测试”按钮,这里输入的内容,如果能够显示出来的话,则会显示“passed”,如果不会显示在列表中,则会显示“failed”。
附,SourceControl.flt文件内容:
## This is a directory/file filter for WinMerge
## This filter lets through only files ASP.NET developers care about
name: Exclude Source Control
desc: Exclude Source Control files and directories
## This is an inclusive (loose) filter
## (it lets through everything not specified)
def: include
## Filters for filenames begin with f:
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)
## f: \.bzrignore$ ## Bazaar ignore file
## f: \.cvsignore$ ## CVS ignore file
## f: \.gitignore$ ## Git ignore file
## f: \.hgignore$ ## Mercurial ignore file
## f: \.svnignore$ ## Subversion ignore file
f: \.(vs[sp])?scc$ ## Visual SourceSafe files
d: \\\.svn$ ## Subversion working copy
d: \\_svn$ ## Subversion working copy ASP.NET Hack
d: \\cvs$ ## CVS control directory
d: \\\.git$ ## Git directory
d: \\\.bzr$ ## Bazaar branch
d: \\\.hg$ ## Mercurial repository
http://winmerge.org/
WinMerge提供了“过滤器”功能,可以在对比时排除特定的目录或文件。
1、编辑过滤规则
工具 -> 过滤器 -> Exclude Source Control -> 编辑 -> SourceControl.flt -> 在最后输入过滤规则
2、过滤规则简单说明
f: <正则表达式> 表示过滤文件名,如果正则表达工要过滤“.”,则前面要加 \ 转义
d: <正则表达式> 表示过滤目录
## 表示注释
3、过滤例子
(1)f: \.bak$
过滤所有.bak的文件名
(2)f: ^1.txt$
过滤文件名1.txt
4、规则测试
在修改过滤器的时候,有一个“测试”按钮,这里输入的内容,如果能够显示出来的话,则会显示“passed”,如果不会显示在列表中,则会显示“failed”。
附,SourceControl.flt文件内容:
## This is a directory/file filter for WinMerge
## This filter lets through only files ASP.NET developers care about
name: Exclude Source Control
desc: Exclude Source Control files and directories
## This is an inclusive (loose) filter
## (it lets through everything not specified)
def: include
## Filters for filenames begin with f:
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)
## f: \.bzrignore$ ## Bazaar ignore file
## f: \.cvsignore$ ## CVS ignore file
## f: \.gitignore$ ## Git ignore file
## f: \.hgignore$ ## Mercurial ignore file
## f: \.svnignore$ ## Subversion ignore file
f: \.(vs[sp])?scc$ ## Visual SourceSafe files
d: \\\.svn$ ## Subversion working copy
d: \\_svn$ ## Subversion working copy ASP.NET Hack
d: \\cvs$ ## CVS control directory
d: \\\.git$ ## Git directory
d: \\\.bzr$ ## Bazaar branch
d: \\\.hg$ ## Mercurial repository
0 0
- WinMerge 过滤器用法
- WINMERGE
- WinMerge
- winmerge
- winmerge 注意事项
- Wireshark 过滤器简单用法
- NSPredicate过滤器 用法
- avalon过滤器基础用法
- vue2.0 过滤器用法
- 过滤器用法案例
- vue 过滤器基本用法
- WinMerge v2.4.8 by WinMerge Team
- WinMerge 2.6.4 by WinMerge Team
- webwork 的过滤器的用法
- Servlet 过滤器 Filter 常用 用法
- Servlet过滤器用法总结一
- Servlet过滤器用法总结二
- FilenameFilter 文件过滤器的用法
- 2017.02.16:利用Python进行数据分析01
- Android VelocityTracker获取滑动速度
- 对2017年中国和东南亚游戏市场的15个预测
- jquery ValidationEngine 提示信息跟随滚动条滚动
- CollectionViewFlowLayout各参数对应位置
- WinMerge 过滤器用法
- 嵌入式linux系统支持usb wifi RTL8723BU
- 让您的Xcode键字如飞
- USB驱动程序
- 解决鼠标放在页面的超链接上,浏览器左下角显示超链接问题
- Pixhawk原生固件PX4之SITL软件在环仿真
- 交互神器 Facebook Origami
- Android优化相关总结
- 各种图像处理理论实现转载