X-Recipient: archive-cygwin@delorie.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@21cn.com>
To: cygwin@cygwin.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
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
References: <26569064.post@talk.nabble.com> <20091130154011.GB29734@ednor.casa.cgf.cx> <26590979.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

