On Wed, 14 Nov 2012 14:38:50 -0600
Bryan Drewery <br...@shatow.net> wrote:


> Two options:
> 
>     find /PATH -flags schg -exec chflags noschg {} +
> or
>     chflags -R noschg /PATH
> 
> Then
> 
>     rm -rf /PATH

        it's often quickest to:

rm -rf /PATH
chflags -R noschg /PATH
rm -rf /PATH

        The other way requires two traversals of the full tree, this way
there's only one full traversal and a clean up which is small and fast.

-- 
Steve O'Hara-Smith <at...@sohara.org>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to