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: Cygwin setup.exe: Clean historical setup packages




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


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