Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2011 17:47:56 -0600
From:      Stephen Montgomery-Smith <stephen@missouri.edu>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Change in behavior to stat(1)
Message-ID:  <4D6C342C.4030709@missouri.edu>
In-Reply-To: <20110228233207.GA33800@icarus.home.lan>
References:  <4D6BD83B.3040609@missouri.edu> <20110228233207.GA33800@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Chadwick wrote:

> Possibly you could use the example from the find(1) man page:
>
>     find -L /usr/ports/packages -type l -exec rm -- {} +
>             Delete all broken symbolic links in /usr/ports/packages.
>
> (Note that the "+" on the end is not a typo, see the man page)

Brilliant!

Since this is *precisely* the purpose of my script, I think I will use 
this code instead,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D6C342C.4030709>