From owner-freebsd-questions@FreeBSD.ORG Wed Feb 10 12:34:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF113106566C for ; Wed, 10 Feb 2010 12:34:09 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay2.uni-muenster.de (ZIVM-EXRELAY2.UNI-MUENSTER.DE [128.176.192.15]) by mx1.freebsd.org (Postfix) with ESMTP id 81B158FC1D for ; Wed, 10 Feb 2010 12:34:08 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,443,1262559600"; d="scan'208";a="236202857" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER04.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay2.uni-muenster.de with ESMTP; 10 Feb 2010 13:33:55 +0100 Received: by ZIVMAILUSER04.UNI-MUENSTER.DE (Postfix, from userid 149459) id A1B761B07C0; Wed, 10 Feb 2010 13:33:55 +0100 (CET) Date: Wed, 10 Feb 2010 13:33:55 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Jason Message-ID: In-Reply-To: <20100210031456.GA80933@eggman.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: problem with `find -delete` X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 12:34:10 -0000 thanks. but i moved away from using ports-mgtm/portupgrade so i don't really want to use portsclean, but use something else. i thought `find` should to be able to accomplish the job. maybe this is a bug in find? because actually the `find` command i'm using should work. cheers. alex Jason schrieb am 2010-02-10: > 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@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > >"freebsd-questions-unsubscribe@freebsd.org" > -- > Jason Helfman > System Administrator > experts-exchange.com > http://www.experts-exchange.com/M_4830110.html