winmerge
winmerge copied to clipboard
FR: Command-line option to apply a specific pre-differ
Looking at the documentation, I'm not seeing a command-line option to apply a specific pre-differ. Is this available, and if not, can it be added?
Specifically, I want to call WinMerge from a batch file to compare file1.txt to file2.txt, but only compare columns 5-14. I want to call the GUI WinMerge, because seeing the context of any changes is critical.
TIA.
You can specify the prediffer plugin on the command line as follows
"C:\Program Files\WinMerge\WinMergeU.exe" file1.txt file2.txt /prediffer "IgnoreColumns 5-14"
That looks great. Thanks. I'll give it a try. Does that need to be added to the docs, or did I simply miss it?
I tested it. Works flawlessly. Thank you again.
Just let me know about the docs whenever you like. If they need updating, please advise if you would like me to update them, or if you prefer to do it.
Pull requests are welcome.
https://github.com/WinMerge/winmerge/blob/master/Docs/Manual/EN/Command_line.xml