problem with `find -delete`

Alexander Best alexbestms at wwu.de
Wed Feb 10 01:51:54 UTC 2010


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


More information about the freebsd-questions mailing list