Steps to reproduce: - have two folders with the same name under different paths such as /path/to/xxx and /path/to/other/xxx - Have some files that exist only in one folder, and some that exist only in the other - Run:
$ diff -r /path/to/xxx /path/to/other/xxx You'll get messages like: Only in xxx: somefile.txt Only in xxx: otherfile.php You see the problem, right? How stupid is that. $diff --version diff (GNU diffutils) 3.7