Is there a script to remove old packages from local disk

Keith Christian keith1christian@gmail.com
Tue Jun 16 23:07:00 GMT 2009


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/



More information about the Cygwin mailing list