Is there a script to remove old packages from local disk
Keith Christian
keith1christian@gmail.com
Thu Jun 18 09:47:00 GMT 2009
On Wed, Jun 17, 2009 at 4:34 AM, Fergus<fergus@bonhard.uklinux.net> wrote:
> #! /bin/sh
> # clean
> cat "$1setup.ini" | sed -n '/release\//p' | sed 's/^.*release\///g' |\
I used Fergus' script referenced above, with the "safety feature" of
executing "setup.4" independently, as the search and destroy
mechanism. I like this approach, try before you, er, um, "buy."
I saved the script in the "release/" directory and invoked thusly:
bash ./clean_cygwin.sh
Worked like a champ. Anyone fearing that changes to setup.exe might
be asked for, forget it. (-: (-:
My "release/" directory was trimmed by 301mb, from 1000mb to 699mb!
That's well worth it.
Thanks, Fergus.
===========Keith
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list