Is there a way to find all symbolic links that don't point anywere?
find ./ -type l
will give me all symbolic links, but makes no distinction between links that go somewhere and links that don't.
I'm currently doing:
find ./ -type l -exec file {} \; | grep broken
But I'm wondering what alternate solutions exist.