Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: finding symlinks without target



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