Removing Broken Symlinks
From Leo's Notes
This page was last edited on 29 March 2015, at 05:30.
To remove all broken symlinks automatically, run:
find . -type l -! -exec test -e {} \; -print | while read i ; do rm -v $i ; done