Jeff Waugh wrote:
> 
> Hey all,
> 
> So, this will be a quick one. :-) Is there a relatively standard utility for
> finding broken links? Or is 'standard' going to be a combination of find and
> a shell script?

I don't know of a specialised utility, but the 'file' program can
identify broken symlinks:

        $ ln -s ~/whatever .
        $ file whatever
        whatever: broken symbolic link to /home/matthewd/whatever

You could use this in combination with find and grep to do what you
want.

Matthew
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to