"find -follow -type l" doesn't quite work.

Rob Landley rob at landley.net
Fri Sep 25 09:35:00 UTC 2009


An easy way to find all dead symlinks under /path is:

  find -follow -type l /path

Using gnu find, that will produce a list of symlinks that, when you've followed 
them as far as they can, are still symlinks.  Using busybox, it finds the same 
set of files, but instead of listing them to stdout it gives error messages 
about them.  This behavior is less useful.

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the busybox mailing list