problem with `find -delete`

Jason jhelfman at e-e.com
Wed Feb 10 03:16:25 UTC 2010


On Wed, Feb 10, 2010 at 02:51:52AM +0100, Alexander Best thus spake:
>hi there,
>
>i've been trying to delete all the works directories in my ports dir. this is
>the command i'm trying to use:
>
>sudo /usr/bin/find /usr/ports -name work -depth 3 -type d -delete
>
>after i issue the command however
>
>sudo /usr/bin/find /usr/ports -name work -depth 3 -type d
>
>tells me that nothing got deleted at all. is there something wrong with that
>command?
>
>cheers.
>alex

You may want to try looking here:
http://www.freebsd.org/doc/handbook/ports-using.html

Section 4.5.5


>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

-- 
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html


More information about the freebsd-questions mailing list