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: <018a01c1d511$fb48d820$5b46fea9@mchasecompaq> From: "Michael A Chase" To: "Alexei Lioubimov" , References: <001101c1d4da$fc0612a0$0571fea9 AT alexei> Subject: Re: setup 2.194.2.21: Questions about the "per-mirror directories" feature Date: Tue, 26 Mar 2002 13:49:03 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 From: "Alexei Lioubimov" To: Sent: Tuesday, March 26, 2002 07:29 Subject: setup 2.194.2.21: Questions about the "per-mirror directories" feature > 2) Is it possible to delete old versions (downloaded by old setup) of the > already updated (by new setup) packages? > (I mean, that old versions are still in .../latest & .../contrib and new > ones are in .../some_mirror_site_directory/latest) I've written a Perl script (http://home.ix.netcom.com/~mchase/zip/clean_setup.zip) that identifies module versions that aren't in the latest setup.ini and optionally deletes them. Extract the script to the base directory of you local cache and run it with '-h' to see the available options. The script will also move the archive files to the base directory tree if you select the '-Move' option. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/