find / -type l -print |perl -nle '-e || print';
This will look for all links that are dead and print it out. It can be piped to a file and unlink it later. It is wise to list the links first and save the output to a file. This is in case if the links are needed by
users which remove those files temporary for testing or housekeeping.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment