Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41EFB69B.7090104@buddydog.org> Date: Thu, 20 Jan 2005 08:48:11 -0500 From: Jonathan Arnold User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050119 MultiZilla/1.6.4.0b MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Couple of scripts to remove duplicate packages References: <41EF54F1 DOT 7090807 AT hotpop DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Igor Pechtchanski wrote: > On Wed, 19 Jan 2005, Alex wrote: > >> Hi, >> I have a habit of keeping cygwin packages on my computer and updating >> them from time to time using setup.exe. This saves me time when I need >> to install on another computer. >> This creates a problem of old versions of packages accumulating in my >> download directory. I used to remove them by hand but that is a time >> consuming process. Finally I wrote an awk script to help me deal with >> the problem. And just for kicks I added a shell wrapper :). >> >> Attached are the scripts. I hope they could be useful to someone else. >> I am sure they can be improved but they have been useful to me as is. > > That's a nice attempt. However, I can see that you're not aware of > Michael Chase's clean_setup.pl (which does that and much, much more). > Google for it. It is here if you are interested: http://home.ix.netcom.com/~mchase/zip/ -- Jonathan Arnold (mailto:jdarnold AT buddydog DOT org) Amazing Developments http://www.buddydog.org I feel like a fugitive from the law of averages. - William H. Mauldin -- 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/