bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to search for broken symbolic links?


From: Eric Blake
Subject: Re: How to search for broken symbolic links?
Date: Mon, 15 Feb 2010 21:01:02 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

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 \*

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]