Hi,
> Any pretty way to find broken links on the entire filesystem would be
> welcome however.
I have a script available for this:
#!/bin/bash
# command line parameter would be the directory to search
for i in ` find $1 -type l `; do
# feststellen, ob der link noch gueltig ist oder nic
Ioannis Vranos wrote:
>
> Garrick Staples wrote:
> >
> >> I am trying "cleanlinks" and is cleaning lot of stuff,
> erasing links and
> >> empty directories, I hope it will not mess my
> installation, especially
> >> by doing the last.
> >
> > On your entire OS? Sounds like a pretty good way
Ioannis Vranos ha scritto:
Garrick Staples wrote:
I am trying "cleanlinks" and is cleaning lot of stuff, erasing links
and empty directories, I hope it will not mess my installation,
especially by doing the last.
On your entire OS? Sounds like a pretty good way to break things.
Yes it d
Garrick Staples wrote:
I am trying "cleanlinks" and is cleaning lot of stuff, erasing links and
empty directories, I hope it will not mess my installation, especially
by doing the last.
On your entire OS? Sounds like a pretty good way to break things.
Yes it damaged it. I had to reinstal
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
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?
>
> Not pretty, but should work fine:
>
> find . -type l 2>/dev/null| while read line;do test -
On Mon, Jan 28, 2008 at 02:22:53AM +0200, Ioannis Vranos alleged:
> 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?
> >
> >Not pretty, but should work
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?
Not pretty, but should work fine:
find . -type l 2>/dev/null| while read line;do test -e "$line" || echo
"$
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?
Not pretty, but should work fine:
find . -type l 2>/dev/null| while read line;do test -e "$line" || echo
"$line";done
pgp4Ofcz
On Mon, Jan 28, 2008 at 01:45:43AM +0200, Ioannis Vranos wrote:
> Is there any command that I can use to find the broken links that point to
> non-existent files?
cleanlinks from the imake package may help.
Mihai
___
CentOS mailing list
CentOS@centos.
Is there any command that I can use to find the broken links that point
to non-existent files?
Thanks a lot.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11 matches
Mail list logo