| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Date: | Tue, 16 Jun 2009 15:11:42 -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: | <20090616191142.GA25409@ednor.casa.cgf.cx> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <80152cdc0906161159r2995c80bl3e0c8ffb1d938103 AT mail DOT gmail DOT com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <80152cdc0906161159r2995c80bl3e0c8ffb1d938103@mail.gmail.com> |
| 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 Tue, Jun 16, 2009 at 12:59:19PM -0600, Keith Christian wrote: >Has anyone written a script that will remove older .bz2 files in the >release/ directory on local drives, e.g. > > release/bash/bash-3.2.25-17.tar.bz2 > release/bash/bash-3.2.33-18.tar.bz2 > release/bash/bash-3.2.39-19.tar.bz2 > release/bash/bash-3.2.39-20.tar.bz2 > release/bash/bash-3.2.48-21.tar.bz2 > >Perhaps delete: > > bash-3.2.25-17 > bash-3.2.33-18 > bash-3.2.39-19 > >and keeping the two most recent updates. You can just rm -r all of the directories that setup creates when installing packages. There is no reason to keep any of them around. 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 |