> Hi, in my years of using freebsd i have collected alot of distfiles in 
> the ports tree and i want to free up some space on my harddrive and i 
> was wondering is there a command to delete files in the distfiles folder 
> that are less than the year 2000?
> Or maybe there is a program that deletes all the older releases in the 
> distfiles? if someone could help i would be gratefully

Yes, there is one included in the sysutils/portupgrade port:

'portsclean -CD' will erase all of your stale distfiles and work
directories (see the man page for more switches).

In case you didn't know portupgrade(1), you really have to check it out.
It's a must-have :-)


Attachment: signature.asc
Description: Digital signature

Reply via email to