Can I compare only file contents?

13,811

Solution 1

I would have thought that WinMerge with the following settings would work:

image

If it doesn't, I would ask the question in their forums.
I believe this is worth the effort, as WinMerge is my best file-compare product.

Solution 2

Try setting the Compare option "Ignore carriage return differences".

Differences in line endings (CRLF/CR/LF) are the usual suspect when one mode of comparison (binary) reports differences but another mode (text) claims that the files are the same.

Solution 3

I had the same problem with WinMerge 2.14. So I tried WinMerge 2.16.2, problem solved.

Solution 4

Try with the software called 'Beyond Compare'.

Share:
13,811

Related videos on Youtube

Des Horsley
Author by

Des Horsley

Professional developer and business analyst, working mostly in C#, JavaScript and .Net Currently working with Epicor ERP delivering customisations and integrated solutions.

Updated on September 17, 2022

Comments

  • Des Horsley
    Des Horsley almost 2 years

    I want to compare two folders, each having about 5-6 thousands files and folders. Among these probably 0.1% would be actually different but WinMerge first shows all files saying "text files are different" and when I open these files one by one it opens a dialog saying contents in both files are the same. It is nearly impossible for me to find files actually having different text, in this way.
    First, I tried to set options but no success.
    Then, I thought this initial difference may be due to different time stamps. So I made all file time stamps (create, last modified and last accessed ) exactly the same but the result is the still same.
    Am I missing something? Or is there any way to filter the list so that I may see only the files with some difference? Or any other idea?

    • Oded
      Oded almost 14 years
      Are you ignoring white space when viewing each file?
    • Admin
      Admin almost 14 years
      YES, I am ignoring both white spaces and different line feeds
    • Greg Hewgill
      Greg Hewgill almost 14 years
    • UncaAlby
      UncaAlby almost 4 years
      For anyone still finding this question and still needing an answer, pls see the answer from @dog44wgm below, who suggests simply upgrading to a newer version of Winmerge.
  • Jarin
    Jarin almost 14 years
    Its already like this.
  • Jarin
    Jarin almost 14 years
    You are right @brian, there is really a line feed difference in most of the files that winmerge is not ignoring in first pass.
  • om471987
    om471987 almost 11 years
    its not free...
  • Balmipour
    Balmipour over 6 years
    Seems to be a good one, but I had to change a few settings (essentially, removing the quick compare rules on file size & timestamp) to avoid having the "not so different files" highlit in my compare. The fact that it's non-free isn't that much of a problem, since a 30 days trial is available (and this soft is probably worth the few bucks it costs), but it raises a few uncertainties about the available functionnalities if one isn't intending to spend money on it.