2

I'm trying to compare 2 large text files around 500MB each, I've tried to use Notepad++, Textpad, VIM etc and couldn't get them to even open the text file. Either that, or the editors that DO work don't have the compare feature.

I need to see what changes are made in those 2 text files, that's why I need to compare them. Does anyone have any suggestions?

nhahtdh
  • 52,949
  • 15
  • 113
  • 149
Ricky
  • 21
  • 1
  • 2

5 Answers5

1

diff file1 file2

halfdan
  • 31,036
  • 8
  • 73
  • 85
1

Are the files supposed to be very similar? Use a diff program instead of an editor; since they specialize in showing the differences, they are often more capable of handling large files.

The page at http://drupal.org/node/324 has a list of diff programs for Windows. If you are using Unix or Linux, you probably already have diff installed.

If you need an editor, I know that Emacs can be configured for files as large as this, but I haven't tried it myself. More info at http://www.emacswiki.org/emacs/EmacsFileSizeLimit

JenEriC
  • 758
  • 6
  • 9
1

Winmerge at http://winmerge.org/ exactly what you want.

m3chanist
  • 11
  • 1
0

Using UNIX/LINUX diff file1 file2 is not practical with large text files.I spent some time looking into solutions today and i wanted to share my finding with you. There is Open Source Project Meld http://meldmerge.org/. It is available on OS X, Linux and Windows platform as well.

If you prefer using notepad++ there is plugin available to download: Open notepad++ -> Plugins -> Plugin Manager -> Show Plugin Manager -> Find plugin named "Compare".

-2

JujuEdit opens large file and it does not load them into memory. It does not compare features. I opened a file 1G byte in 2 seconds or less. It has binary mode.

Aftershock
  • 4,598
  • 3
  • 47
  • 59