iarmin

Find broken symlinks

Dec 21st, 2011
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.10 KB | None | 0 0
  1. #Find broken symlinks
  2.  
  3. find . -type l | ( while read fn; do test -e "$fn" || ls -ld "$fn"; done )
Advertisement
Add Comment
Please, Sign In to add comment