finding difference between two large text files

Hello, I'm trying to find the difference between two large text files. I'm using GNU Diff and it works on small files, but not on large files that are above 1gb. Does anyone know of a solution for doing this via C# or of a utility that can compare two large text files and generate an output file that contains the data that is different

Here is a link to the GNU tool:

http://gnuwin32.sourceforge.net/packages/diffutils.htm

Here is my cmd line:

C:\Program Files\GnuWin32\bin>diff -ua c:\logs\file1.txt c:\logs\file2.txt > c:\logs\output.txt

Any suggestions



Answer this question

finding difference between two large text files