delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/27/07:30:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ar0BAL0/qU6cKEdK/2dsb2JhbABCmgyNQoIPfgeBcgEBAQQSKE8CAQgNCxwCEB8TJQEBBBsaoR6bVYNAhF1hBIwqjS+MLw
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Thu, 27 Oct 2011 07:30:04 -0400
Subject: RE: question on backup
Message-ID: <0105D5C1E0353146B1B222348B0411A20A39C92B61@NIHMLBX02.nih.gov>
References: <4EA9071D DOT 30409 AT cs DOT cmu DOT edu> <4EA93FB6 DOT 9030501 AT cornell DOT edu>
In-Reply-To: <4EA93FB6.9030501@cornell.edu>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p9RBUOWS020029

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/'

  Disclaimer:  Statements made herein are not made on behalf of NIAID.


--
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