1 Answer
1

If all of the symbolic link targets are absolute, you can do something like this:

find /folder/tree -type l -not -lname '/folder/tree/*' -print

However, if you have any relative links in your tree, especially those with ./ or ../ embedded in the target paths, you'll probably need to loop through each one to normalize the target, and then see if it matches the folder tree: