Alexander Hansen wrote: > On Oct 11, 2008, at 8:17 AM, Robert T Wyatt wrote: > >> I'm having space management issues on my hard drive and so I'd like to >> pare my fink packages down to a few essential packages, but I don't >> want >> to have to remove all of /sw to do it. >> >> Does someone have a convenient script that can help with this task (on >> 10.5.5 Intel)? >> >> Also, will one of the cleanup commands remove uninstalled packages, or >> will it only remove obsolete packages? >> >> Barring this, I'll have to seriously consider moving it to an external >> drive and I'm hoping to avoid that. >> >> Thanks for any pointers, >> Robert >> >> > > I'm currently using the following one-liner to prune my package tree > to essentials +apt: > > fink -y remove --recursive `fink list -t -i | grep -v apt | grep -v "\ > [" | cut -f2` > > I'm not sure if "cleanup" defines .debs and sources for packages that > aren't installed, but are at the current version as obsolete or not.
Thanks everyone! Two people replied suggesting debfoster which I had forgotten about and it does help. Koen suggested a script that I can't find, but I appreciate the suggestion anyway. Alexander's suggestion worked very well and while debfoster recovered a couple of gigabytes, Alexander's short script recovered a couple of more for me. (My only note here is that I also wanted to keep the newest bash, but I simply reinstalled it.) Beyond this, removing older versions of various developer packages and other installers (which I tend to keep in case I need to revert) helped recover around 10 more gigabytes. This has been sufficient to let me run my vmware virtual machines which is where I needed to be. Thanks again! Robert ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users