Is there a script to remove old packages from local disk
Christopher Faylor
cgf-use-the-mailinglist-please@cygwin.com
Tue Jun 16 23:53:00 GMT 2009
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/
More information about the Cygwin
mailing list