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 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 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/