On Tue, Nov 8, 2011 at 4:55 PM, Alexander Best <arun...@freebsd.org> wrote:
> another tought would be to do the following:
>
> find -flags +XXX /usr/obj/usr/git-freebsd-head -exec chflags -R 0 {} +
> rm/obj/usr/git-freebsd-head/*

As far as I can tell, the expensive part is not chflags, but walking
the entire directory tree.  Running find will still cause us to walk
it twice.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to