Automated diff reporting

Michael picture Michael · Sep 19, 2011 · Viewed 18.1k times · Source

I need a diff tool that has a command line option to create and save a diff report that looks easy to read, something like the html report produced by WinMerge. I have a few hundred files that I need to compare and it's not practical to have to open the files and manually and save the report.

Answer

Michael picture Michael · Nov 22, 2012

I did find a tool that does exactly that: http://sourceforge.net/projects/diff2html

It's a bash script that uses diff(1) and creates an HTML page from the output with colour-coded diffs.