I need to process several directories, determine what files are symlinks in them, and what they link to It sounds simple, but I have no control over the control of file names or the presence of other characters, and I need a strong solution.
Therefore, a file named arbitrarily has been given, how can I safely determine what links are related to, when link destination can also be arbitrary content?
readlink -f & lt; Linkname & gt;
Comments
Post a Comment