I'm trying to diff two directories using (well)
diff actually follows symlinks and compares differences between the targeted files. I can't seem to find a way to not have
diff do this. Instead, what I would like to know is whether the targets are the same (or different for that matter). In other words, if the symlinks point to the same file, (in my opinion) they are the same, else they are different and that is all I want
diff to tell me when it comes across symlinks during a recursive call.
I've tried looking online but I either find topics relating to dealing with symlinks alone or ignoring them altogether.