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 Date: Thu, 20 Jan 2005 02:12:38 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: alex-p AT hotpop DOT com cc: cygwin AT cygwin DOT com Subject: Re: Couple of scripts to remove duplicate packages In-Reply-To: <41EF54F1.7090807@hotpop.com> Message-ID: References: <41EF54F1 DOT 7090807 AT hotpop DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: 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. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/