Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: finding symlinks without target
- X-seq: zsh-users 1254
 
- From: njs3@xxxxxxxxxxxx (Niall Smart)
 
- To: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>,        ZShell Users <zsh-users@xxxxxxxxxxxxxxx>
 
- Subject: Re: finding symlinks without target
 
- Date: Fri, 23 Jan 1998 15:34:47 +0000
 
- In-reply-to: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>       "finding symlinks without target" (Jan 23,  3:47pm)
 
On Jan 23,  3:47pm, Sven Guckes wrote:
} Subject: finding symlinks without target
> Hi!
> 
> Problem:
> Find (and print) all symbolic links without a target within the current dirtree.
> 
> Anyone hints?
This is an abuse of your shell, there are already many C variants of
this, though I can't remember any of their names.  If you were really
desperate, you could hack something up with zsh and find.  Eg.
find . -type l -exec myscript.zsh {} \; etc etc.
Niall
Messages sorted by:
Reverse Date,
Date,
Thread,
Author