link-killer

This program is a perl script that takes a list of files as command line arguments and outputs the names of those which are broken symbolic links.

Instructions

Download and run the perl script. Works for me on perl5.

$ perl ./link-killer /usr/local/lib/* | xargs rm