X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,TW_YG,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Date: Thu, 27 Oct 2011 10:18:24 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: question on backup Message-ID: <20111027141824.GA12195@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4EA9071D DOT 30409 AT cs DOT cmu DOT edu> <4EA93FB6 DOT 9030501 AT cornell DOT edu> <0105D5C1E0353146B1B222348B0411A20A39C92B61 AT NIHMLBX02 DOT nih DOT gov> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0105D5C1E0353146B1B222348B0411A20A39C92B61@NIHMLBX02.nih.gov> User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Thu, Oct 27, 2011 at 07:30:04AM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote: >Ken Brown sent the following at Thursday, October 27, 2011 7:26 AM >>On 10/27/2011 3:24 AM, Paul Allen Newell wrote: >>> My question is how do I get an archive of what cygwin packages I have >>> installed. >> >>/etc/setup/installed.db > >or > >sed -n -e '2,$s/ .*$//p' /etc/setup/installed.db > >or to feed into setup.exe -P > >sed -n -e '2,$s/ .*$//p' /etc/setup/installed.db | tr '\n' , | sed -e 's/,$/\n/' Is there some reason why you wouldn't just use cygcheck for this? cgf -- 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