Winmerge Tutorial With Examples To Visual Patch, Diff, Merge

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/winmerge-tutorial-with-examples-to-visual-patch-diff-merge/
PINTEREST
PINTEREST
INSTAGRAM

Linux operating system have different tools to find diff and create patches. Windows operating system do not provide any builtin tool for these operations. But there is a 3 party application which can be used easily and freely called Winmerge.

Download and Installation

The winmerge tool can be downloaded from following link.

https://downloads.sourceforge.net/project/winmerge/stable/2.14.0/WinMerge-2.14.0-Setup.exe

After download is completed the installation can be done with Next-Next style.

Compare Two Files

One of the most used function of the winmerge is comparing two files. We can compare two files with the Open button which is in tool bar like below.

Compare Two Files
Compare Two Files

Now we will select the two files those will be compared with each other. In this example file names are user.txt and users_new.txt . The can can be same if the location is different for both files.

Compare Two Files
Compare Two Files

 

Then we click OK and following screen will appear. This screen show different lines in yellow color for both files. There is also an visual navigator which shows location of the different files in a straight bar.

Difference of Two Files
Difference of Two Files

Compare Folders

We can also compare folders too. This will create files and folder names which do not exist other input. As we can see that there is also an Filter part where we can provide some filter expression like we do only compare folders those names start with TEST .

Compare Folders
Compare Folders

Include Sub Folder

By default only given right and left value folders will be compared. But we can enable to sub files and folders to compare and diff with the Include Subfolders option like below.

LEARN MORE  Python If .. Elif .. Else Statements and Conditionals
Include Sub Folder
Include Sub Folder

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/winmerge-tutorial-with-examples-to-visual-patch-diff-merge/
PINTEREST
PINTEREST
INSTAGRAM