Automatic reporting

I need a diff tool that has a command line parameter to create and save a difference report that is easy to read, something like an html report created by WinMerge. I have several hundred files that I need to compare, and it is impractical to open the files manually and save the report.

+6
source share
2 answers

I found a tool that does just that: http://sourceforge.net/projects/diff2html

This is a bash script that uses diff (1) and creates an HTML page with color-coded output.

+3
source

Have you looked at the command line option in WinMerge? http://manual.winmerge.org/Command_line.html

You may need to use something like AutoHotkey to automate saving reports created by WinMerge: http://www.autohotkey.com/

+1
source

Source: https://habr.com/ru/post/897623/


All Articles