X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 17 Jun 2009 10:45:19 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Is there a script to remove old packages from local disk
Message-ID: <20090617144519.GD1401@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4A38C6B0.5020700@bonhard.uklinux.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4A38C6B0.5020700@bonhard.uklinux.net>
User-Agent: Mutt/1.5.19 (2009-01-05)
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

On Wed, Jun 17, 2009 at 11:34:24AM +0100, Fergus wrote:
>Assume your local Cygwin repository is under some /pathname/ for example:
>/g/users/yourname/cygfiles/setup.ini AND 
>/g/users/yourname/cygfiles/release/*
>or you can have spaces if you like:
>/h/my name/cygnus solutions/setup.ini AND /h/my name/cygnus 
>solutions/release/*
>
>As setup.ini advances with time and you augment the subdirectory 
>release/, it becomes bloated with more and more redundant files. It can 
>be cleaned out using the following script with the syntax

Are you paying attention?  It can be cleaned up by:

rm -rf "/h/my name/cygnus solutions/*"

Yes, yes.  I know.  Your internet connection is only 1 byte per second
so you desperately need to keep useless files around on disk for when
you accidentally type rm -rf /bin.  Or, you have all of cygwin carefully
installed on multiple floppies and don't want to delete anything.

However, for most people here, removing the directories is the right
thing to do.

cgf

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

