Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I include all files and exclude *.bak and *.tmp files in WinMerge compare dialog window?

=========== WinMerge Dialog Window ===========

Left: [Folder-A]               [ OK ]
Right: [Folder-B]              [ Cancel ]
Filter: *.*                    [ Help ]

[x] Include Subfolders

----------------------------------------------
share|improve this question

2 Answers 2

up vote 3 down vote accepted

Using an inclusive filter, all files are included except those matching a filter rule. For .tmp and .bak files that would be:

def: include ## Inclusive (loose) filter lets through all items not matching rules
f: \.tmp$ ## temporary files
f: \.bak$ ## back up files

When selecting a file or folder, hit select right next to the filter textfield to select a filter. Then hit new, select a filename and adjust the filter by the above lines. After saving, you may have to refresh the filter page by closing and opening it again. Select your new filter and voila.

share|improve this answer
    
Is that answer wrong? If so, any feedback is appreciated :) –  Zaheylu Mar 16 at 13:23
    
Tks, it works. Been a while and I have used another software. Now that I know how filters work, I may give WinMerge another chance. –  Level1Coder Mar 18 at 0:09

You can use a filter. See here, section 4.1.3. Creating a file filter.

share|improve this answer
    
link doesn't work –  Level1Coder Mar 9 '14 at 2:03
    
Oops. I fixed it now. –  l19 Mar 9 '14 at 2:04
    
Actually, I read that before posting the question. The documentation is rather poor on how to exclude files, there is no clearcut example. –  Level1Coder Mar 9 '14 at 2:08
    
Basically, you create a filter for bak and tmp files, and apply that filter to the comparison. –  l19 Mar 9 '14 at 2:08
    
Does that mean if I have 1 billion files to compare, it will compare 1 billion files THEN apply filter? Seems not efficient –  Level1Coder Mar 9 '14 at 2:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.