This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is there a script to remove old packages from local disk


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]