X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <28469451.post@talk.nabble.com> Date: Wed, 5 May 2010 22:37:58 -0700 (PDT) From: Uh-Oh To: cygwin AT cygwin DOT com Subject: Re: Cygwin setup.exe: Clean historical setup packages In-Reply-To: <26569064.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <26569064 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com LiuYan =E5=88=98=E7=A0=94 wrote: >=20 > ... > 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. >=20 > 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 :) >=20 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 --=20 View this message in context: http://old.nabble.com/Cygwin-setup.exe%3A-Cle= an-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