Try to delete files
Simon Barner
barner at in.tum.de
Thu Jul 10 04:53:40 PDT 2003
Hi,
> 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 :-)
Cheers,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030710/e01e9310/attachment.bin
More information about the freebsd-questions
mailing list