Saturday, November 20, 2010

Find broken symlinks

Helpful sysadmin tip from Jason White (jasonjgw), philosopher cum Linux expert, on finding broken symlinks.

1 comment:

  1. I use this ditty:

    perl -MFile::Find -le 'find(sub { -l && !-e && print $File::Find::name }, ".")'

    -M

    ReplyDelete