X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 16 Jun 2009 12:59:19 -0600 Message-ID: <80152cdc0906161159r2995c80bl3e0c8ffb1d938103@mail.gmail.com> Subject: Is there a script to remove old packages from local disk From: Keith Christian To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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. Thanks in advance. ===========Keith -- 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/