This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Is there a script to remove old packages from local disk
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 16 Jun 2009 15:11:42 -0400
- Subject: Re: Is there a script to remove old packages from local disk
- References: <80152cdc0906161159r2995c80bl3e0c8ffb1d938103@mail.gmail.com>
- Reply-to: 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/