Reputation: 71
I have two different directories and i am making a script which identify that if different directories have the same file name with different changes.i am trying with winmerge commaline option as below .. WinMergeU C:\Folder\File.txt C:\Folder2
and i also want to merge the all changes into the one file.
Please suggest me on this.
thanks
Upvotes: 7
Views: 22467
Reputation: 55479
Here is the manual from Winmerge explaining on comparing two different folders -
https://manual.winmerge.org/en/Compare_dirs.html
Upvotes: 4
Reputation: 938
The answer from Stanislav works well from the user interface.
From the command line (documentation), you need the flag /r
to do the comparison recursively:
WinMergeU /r Folder1 Folder2
Then, as mentioned in Stanislav's post, you can go to the View Menu and Check the "Tree Mode" and uncheck "Show Identical Items" to get a clearer view of the differences.
Upvotes: 0
Reputation: 4549
When I compare folders with WinMerge, I go to File->Open, select folders and check the 'Include subfolders' check-box. Then in the View menu I switch on the Tree View and switch off Show Identical Items.
Upvotes: 14