On Tue, Feb 16, 2010 at 4:01 AM, Eric Blake <[email protected]> wrote: > According to Peng Yu on 2/15/2010 6:50 PM: >> I don't find which option to use to search for broken symbolic links. >> Could somebody let me know if there is such an option? >> > > Yes. Here's the POSIX way: > > find . -L -type l > > Or, if you want to use GNU extensions: > > find -follow -lname \*
Another GNU-specific method (interesting because it doesn't itself traverse links to directories): find -type l -xtype l James.
