find and remove dead links
I asked myself the question, what would be the best way under linux to find and remove dead links?
Here is the short answer (only tested on bash):
find . -type l -exec sh -c "file -b {} | grep -q ^broken" \; -print | tr "\n" "" | xargs -0 rm
Einsortiert unter:administration Tagged: linux