www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 17 Jun 2009 10:45:19 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT 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 AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4A38C6B0 DOT 5020700 AT bonhard DOT uklinux DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <4A38C6B0.5020700@bonhard.uklinux.net> |
User-Agent: | Mutt/1.5.19 (2009-01-05) |
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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |