Compare directory using winmerge?
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 commal开发者_运维百科ine 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
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.
Here is the manual from Winmerge explaining on comparing two different folders -
http://winmerge.org/docs/manual/CompareDirs.html
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.
精彩评论