[NTLUG:Discuss] Broken links
jeremyb@univista.com
jeremyb at univista.com
Wed Dec 4 09:13:23 CST 2002
I just ran the initial find portion of this command and all it returned was
broken links.
I don't see this list in the man page as a behavior. Shouldn't it return
all links?
-J
-----Original Message-----
From: jeremyb at univista.com
To: rusty at fe2o3.lonestar.org; discuss at ntlug.org
Sent: 12/4/02 8:30 AM
Subject: RE: [NTLUG:Discuss] Broken links
If you wanted to pull out only broken ones and act on those you could
add
this to the end.
| grep "No such file" | awk '{print $2}' | xargs <your command that acts
on
broken ones>
-J
-----Original Message-----
From: Rusty Haddock
To: discuss at ntlug.org
Sent: 12/4/02 12:43 AM
Subject: Re: [NTLUG:Discuss] Broken links
Greg Edwards wrote:
>Anyone remember the command to chase down broken symbolic links?
The command below appears to work for me: Some of the following
links are directories while others are "plain" files. Options of
-xtype or -type may be of some additional use.
[289] -=> find ~ -type l -follow -print
find: /home/rusty/Html/Tcl: No such file or directory
find: /home/rusty/Html/Java: No such file or directory
find: /home/rusty/Hardware/NewMicros/SMALLC/bar: No such file or
directory
find: /home/rusty/Hardware/NewMicros/baz: No such file or directory
find: /home/rusty/Mail.old/arcie: No such file or directory
-Rusty-
--
_____ Rusty Haddock = KD4WLZ = rusty at fe2o3.lonestar.org
|\/ o \ o
| ( -< O o The day Microsoft makes something that doesn't suck
|/\__V__/ is the day they start making vacuum cleaners.
_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list