delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/27/10:18:50

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 <cgf-use-the-mailinglist-please AT cygwin DOT com>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019