This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin setup.exe: Clean historical setup packages
- From: Uh-Oh <tamsubsc at tut dot by>
- To: cygwin at cygwin dot com
- Date: Wed, 5 May 2010 22:37:58 -0700 (PDT)
- Subject: Re: Cygwin setup.exe: Clean historical setup packages
- References: <26569064.post@talk.nabble.com>
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