delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/01/12:37:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <26594254.post@talk.nabble.com>
Date: Tue, 1 Dec 2009 09:10:50 -0800 (PST)
From: =?UTF-8?Q?LiuYan_=E5=88=98=E7=A0=94?= <lovetide AT 21cn DOT com>
To: cygwin AT cygwin DOT com
Subject: Update >>Re: My DIY solution Re: Cygwin setup.exe: Clean historical setup packages
In-Reply-To: <26590979.post@talk.nabble.com>
MIME-Version: 1.0
References: <26569064 DOT post AT talk DOT nabble DOT com> <20091130154011 DOT GB29734 AT ednor DOT casa DOT cgf DOT cx> <26590979 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

update:
added -p option, which will treat files listed in [prev] section of
setup.ini as old.

now, run
./cleanOldPackages_UTF8.sh -p -d
will clean files listed in [prev] sectoin.

download it from nabble.com:
http://old.nabble.com/file/p26594254/cleanOldPackages_UTF8.sh
cleanOldPackages_UTF8.sh=20


LiuYan =E5=88=98=E7=A0=94 wrote:
>=20
> After I viewed setup.ini, I decide to write a little script to do this.
> Currently, it scans all the sub-directory of cygwin local package
> directory, and delete all the old files which not listed in setup.ini or
> setup-2.ini.
>=20

--=20
View this message in context: http://old.nabble.com/Cygwin-setup.exe%3A-Cle=
an-historical-setup-packages-tp26569064p26594254.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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