auto-removal of earlier package??

Gary Kline kline at tao.thought.org
Sun Mar 25 20:44:11 UTC 2007


On Sun, Mar 25, 2007 at 07:25:34AM -0400, Gerard Seibert wrote:
> On Sat, 24 Mar 2007 16:37:58 -0800
> Gary Kline <kline at tao.thought.org> wrote:
> 
> > Can anybody suggest ascript means to rm -i a whole slew of
> > packages I am collection in /usr/ports/packages/All/?
> 
> Maybe I am misreading this; however, why not just use:
> 
> 	rm -ri /usr/ports/packages/ALL/*
> 
> You might also try:
> 
> 	portsclean -C -D -L -PP
> 
> While you are at it, clean out the 'ports/distfiles' directory too.
> 
> 	rm -ri /usr/ports/distfiles/*
> 

	Yeah, I do clean out thw distfiles every so often.  I am looking
	to maintain only the latest packages, mostly custom-built with
	gcc-4.2 in most cases.  As for rm -i, well, I ain't that brave:-)

	gary


> Ciao
> 
> 
> 
> -- 
> Gerard
> 
> A friend in need is a pest indeed.



-- 
  Gary Kline  kline at thought.org   www.thought.org  Public Service Unix



More information about the freebsd-questions mailing list