Directory comparison in Meld but ignoring changes that only involve file timestamp?

4

I'm using Meld to compare two directories of source code on Ubuntu.

However, because all of the files in one of the directories have been 'touched' so that all of their timestamps were updated, Meld is showing them as different, even though the contents of the files have not changed. But I'm only trying to find files that have different content. I don't see an option to get Meld just to look at changed contents. Any ideas for how to do this in Meld or is there a better GUI directory comparison tool for Ubuntu?

creamcheese

Posted 2010-03-17T17:19:57.653

Reputation: 171

Answers

3

The display appears different for files that have different timestamps to those that have really changed

Quoted from debian mailing list

The current behaviour of meld is such that, a small red dot is used in the right hand bottom corner of the icon for a file with newer timestamp even if the files being compared are identical. If the files are different, then both files are shown as red with a thick red dot in the newer-timestamp file.

I use Meld and I think it is the best graphical diff program.

Maybe Kompare will do what you want.

Richard Holloway

Posted 2010-03-17T17:19:57.653

Reputation: 1 129

1Sorry but Meld is frustrating. I'm comparing two directories right now... I changed from windows to Linux and it shows ALL the files in blue with a yellow start. When I enter, It says: "Files are identical". The "SAME" button is unchecked. There is no way right now to only see the Different(in text) files. – Mariano L – 2015-11-02T03:18:40.450

1

A good alternative is KDiff3 – it has an option to choose a method to compare files.

Alexander

Posted 2010-03-17T17:19:57.653

Reputation: 11

1And does it accomplish what the OP wants? Could you [edit] your answer to clarify that? – slhck – 2012-10-03T19:37:17.187

0

In the top menu Meld now has a toggle on the "Same" file, so you can turn off unwanted files. Further for directories that contain hundreds or thousands of files, for example libraries, select the directory and "Hide".

Chelton

Posted 2010-03-17T17:19:57.653

Reputation: 1

The "Same" toggle unfortunately does not help in this case, because timestamps are different. – luator – 2016-11-10T10:37:20.933