I have two folders containing a number of broken symlinks.
Is there a way to make
diff compare the target of the links instead of trying to follow the links?
With 'content of the links' I assume you mean 'target of the link'. If that's correct, then yes, there is. Sort of. And you have to get creatie with shell redirection :)
What this does is run