I want to quickly compare files in two different directories to see if the files are the same (same content). I want to see the results in Kompare (I'm on KDE - Kubuntu 12.04).
Here's my diff command:
diff -EwbBsy /directory/one /directory/two
(That command would suit me even better if it ignored any files in /directory/one that are not already present in /directory/two, but I couldn't figure out how to achieve that.)
To use Kompare, I do this:
diff -EwbBsy /directory/one /directory/two | kompare -o -
However, that gives the following error:
Error: Could not parse diff output.
I also tried:
diff -Ewbus /directory/one /directory/two | kompare -o -
diff /directory/one /directory/two | kompare -o -
and a few other variations without success. What am I doing wrong? Thanks.