Cygwin setup.exe: Clean historical setup packages

Uh-Oh tamsubsc@tut.by
Thu May 6 05:38:00 GMT 2010




LiuYan 刘研 wrote:
> 
> ...
> I wish the local setup directory contains only newest packages so that I
> can carry small-size packages to  upgrade cygwin on servers which have no
> internet connection. I'm currently delete the old packages manually, it's
> a little boring and may cause dependency-missing issue.
> 
> So I wish Cygwin setup.exe/setup-1.7.exe can provide an option like "keep
> only newest packages in local directory", it will be very helpful :)
> 

lftp does what you want. Type in command prompt:
lftp
open ftp://ftp.byfly.by/pub/cygwin/
lcd /path_to_local_cygwin_dir/cygwin/
mirror --delete --exclude-glob *-src.tar.bz2 -v -n
-- 
View this message in context: http://old.nabble.com/Cygwin-setup.exe%3A-Clean-historical-setup-packages-tp26569064p28469451.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list