0

I need to diff (and merge) two directories (practically same content, with a few extra inserted lines in one set of files). Alas, all diff programs I tried (kompare, diffmerge, kdiff3, diffuse, xxdiff, ) don't do a good job of showing the differences (screenshot from intellij idea); or are limited to diffing files (in which case I did not check if they do a better diff job). The two directories are: A and B .

Could you recommend a good diff program to solve this problem (GUI strongly preferred, must be free to use)?

Diff failure screenshot

1
  • Have you considered diff -ru A B? Commented Sep 27, 2022 at 18:14

1 Answer 1

2

I use meld for diffing both files and folders. It is a free and open-source GUI app and its UI is intuitive and very user-friendly. It is fast but can become slow when comparing directories with non-text files.

This is how the diff between your two folders appears in Meld:

enter image description here

And below is the comparison of one of the modified files with its corresponding original file as shown in Meld:

enter image description here

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.