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

Denys Vlasenko vda.linux at googlemail.com
Tue Sep 29 09:01:12 UTC 2009


On Fri, Sep 25, 2009 at 11:35 AM, Rob Landley <rob at landley.net> wrote:
> 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.

Please try attached patch.

--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.patch
Type: application/octet-stream
Size: 7302 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090929/3d257da0/attachment-0001.obj>


More information about the busybox mailing list