[CentOS] Locating the broken links

Mon Jan 28 03:04:24 UTC 2008
Ow Mun Heng <Ow.Mun.Heng at wdc.com>

On Sun, 2008-01-27 at 21:45 -0500, Ross S. W. Walker wrote:
> Garrick Staples wrote:
> > 
> > On Mon, Jan 28, 2008 at 01:45:43AM +0200, Ioannis Vranos alleged:
> > > Is there any command that I can use to find the broken 
> > links that point 
> > > to non-existent files?

[U] app-misc/symlinks
     Available versions:  1.2 1.2-r2
     Installed versions:  1.2(10:39:15 11/10/05)(-static)
     Homepage:            http://www.ibiblio.org/pub/linux/utils/file/
     Description:         Symlinks scans for and fixes broken or messy
symlink

symlinks: scan/change symbolic links - v1.2 - by Mark Lord

Usage:  symlinks [-crsv] dirlist

Flags:  -c == change absolute/messy links to relative
        -d == delete dangling links
        -r == recurse into subdirs
        -s == shorten lengthy links
        -v == verbose (show all symlinks)