On this question or on this one (for example) you will get solutions on how to look for symlinks pointing to a given directory (let's call it
/dir1), while I am interested to symbolic links possibly pointing to any file/folder inside
I want to delete such directory but I am not sure that I am safe to do so, as on an other directory (let's call it
/dir2), I may have symlinks pointing to inner parts of
Further, I may have created these symlinks using absolute or relative paths.
My only help is that I know the symlinks I want to check are on a mounted filesystem, on