Cleaning distfiles

Daniel J. Luke dluke at geeklair.net
Wed Jan 26 06:57:01 PST 2011


On Jan 26, 2011, at 4:20 AM, Ryan Schmidt wrote:
> 
> On Jan 26, 2011, at 01:14, Scott Webster wrote:
>> I believe Ryan posted a script that deletes all distfiles older than a
>> certain time at some point.
> 
> Yeah, that's what I'm still using.
> 
> http://lists.macosforge.org/pipermail/macports-users/2010-June/020560.html

you can (ab)use port mirror and portmirror to do what you want also:

It's not pretty (see http://trac.macports.org/ticket/21787), but it works:

port mirror --new name_of_some_port_you_have_installed && port mirror installed && portmirror

will leave you of just the distfiles from your installed ports.

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-users mailing list