Old ports

Daniel J. Luke dluke at geeklair.net
Wed Jun 16 06:17:04 PDT 2010


On Jun 15, 2010, at 9:32 PM, Ryan Schmidt wrote:
> I do a lot of port testing, on a number of machines, even sometimes going back to older port versions, and I often work on slow network connections or offline, so I like to keep distfiles around. But not forever. Here's the script I run periodically that deletes distfiles older than a year; you can easily adjust this to delete distfiles sooner. Run the script with sudo so it has sufficient permission to delete the files.

if someone wanted to fix #21787 it would be possible to run a simple port command to delete the distfiles of everything but the current version of the 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