ユーザ用ツール

サイト用ツール


it技術:winmerge

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
it技術:winmerge [2018/04/09 09:50] yajuadminit技術:winmerge [2019/08/23 17:00] – [ログファイルを比較対象から除外] yajuadmin
行 14: 行 14:
 f: はファイルのパターンを正規表現で指定する。\\ f: はファイルのパターンを正規表現で指定する。\\
 d: はディレクトリのパターンを正規表現で指定する。 d: はディレクトリのパターンを正規表現で指定する。
 +
 +def: のところで選択するinclude と exclude の意味が、普通の感覚と逆になっている。\\
 +def: include と指定すると、設定ファイルで指定されたパターンのファイルが比較対象とならない。\\
 +def: exclude と指定すると、設定ファイルで指定されたパターンのファイルだけが比較対象となる。
  
 <code bat Java.flt> <code bat Java.flt>
行 35: 行 39:
 d: \\log$     ## log files d: \\log$     ## log files
 </code> </code>
 +
 +==== ログファイルを比較対象から除外 ====
 +<code bat log.flt>
 +## This is a directory/file filter template for WinMerge
 +name: Log
 +desc: Longer description
 +
 +## Select if filter is inclusive or exclusive
 +## Inclusive (loose) filter lets through all items not matching rules
 +## Exclusive filter lets through only items that match to rule
 +## include or exclude
 +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: \.log$ ## Filter for filename
 +
 +d: \\log$ ## Filter for directory
 +</code>
 +
 +==== 行フィルタで比較対象から除外 ====
 +ツール->フィルタ->行フィルタに正規表現を追加して、行フィルタを有効にすると対象行が違っていても比較対象から除外してくれる。
 +
 +[[https://necoyama3.hatenablog.com/entry/20090227/1235754021|WinMergeでバージョン管理されたファイルのCVSやSVNのキーワードを除外して比較する]]
it技術/winmerge.txt · 最終更新: 2022/09/26 11:41 by yajuadmin