Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2008 15:38:51 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-stable@FreeBSD.ORG
Subject:   find -L . -type l -delete
Message-ID:  <491C2DEB.3010504@icyb.net.ua>

next in thread | raw e-mail | index | archive | help

Am I stupid or is our 'find' is seriously broken in one subtle feature?

$ find -L . -type l
find all broken symlinks (target doesn't exists)

$ find -L . -type l -delete
removes all symlinks!!!

FreeBSD 7.1-PRERELEASE amd64
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?491C2DEB.3010504>