Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2010 02:51:52 +0100 (CET)
From:      Alexander Best <alexbestms@wwu.de>
To:        <freebsd-questions@FreeBSD.org>
Subject:   problem with `find -delete`
Message-ID:  <permail-20100210015152f7e55a9d00007517-a_best01@message-id.uni-muenster.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20100210015152f7e55a9d00007517-a_best01>