Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2010 13:33:55 +0100 (CET)
From:      Alexander Best <alexbestms@wwu.de>
To:        Jason <jhelfman@e-e.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: problem with `find -delete`
Message-ID:  <permail-2010021012335580e26a0b000011b2-a_best01@message-id.uni-muenster.de>
In-Reply-To: <20100210031456.GA80933@eggman.experts-exchange.com>

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



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