Re: Really stupid use of cleanlinks
On Wed, Aug 06, 2003 at 12:48:11PM -0500, Michael D. Schleif wrote:
> Actually, that script removes every symbolic link that does not test
> successfully as a regular file. Yes, that test will follow the symbolic
> link; but, it will only check whether or not the destination is a
> regular file. It does *NOT* test for dangling symlink at all! On my
> system, I have *many* symlinks to directories, all of which contain
> something, and this script flags *ALL* of them for removal . . .
> What could be the purpose of this script?
It's a utility to reverse the effects of lndir, which is mainly intended
for building cheap copies of source trees. See their respective man
Colin Watson [email@example.com]