delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/23/01:19:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: setup 2.194.2.21: Questions about the "per-mirror directories" feature
Date: Tue, 23 Apr 2002 15:17:55 +1000
Message-ID: <FAC87D7C874EAB46A847604DA4FD5A6402F7B0@crtsmail.corp.riotinto.org>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com>
To: "Michael A Chase" <mchase AT ix DOT netcom DOT com>, <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 23 Apr 2002 05:18:59.0366 (UTC) FILETIME=[5F9BFC60:01C1EA86]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g3N5JgX25665

> From: Michael A Chase [mailto:mchase AT ix DOT netcom DOT com]
> Sent: Wednesday, 27 March 2002 8:49 
> To: Alexei Lioubimov; cygwin AT cygwin DOT com
> Subject: Re: setup 2.194.2.21: Questions about the "per-mirror directories" feature

> 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.

Just grabbed a copy of this script.  Much better than doing it by hand, but there are 
some problems with upper-case letters in filenames.   For example:

Missing Install Files:
   [curr] release/squid/squid-2.4-stable20010508.tar.gz
   [curr] release/xfree86/xfree86-base/xfree86-base-4.2.0-1.tar.bz2
   (... etc ...)

Not Removing files not in setup.ini
   release/XFree86/XFree86-base/XFree86-base-4.2.0-1.tar.bz2
   release/squid/squid-2.4-STABLE20010508.tar.gz
   (... etc ...)

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019