delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_CG,TW_YG |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4EA9CDDA.20600@cs.cmu.edu> |
Date: | Thu, 27 Oct 2011 14:32:10 -0700 |
From: | Paul Allen Newell <pnewell AT cs DOT cmu DOT edu> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
CC: | "Newell, Paul" <pnewell AT cs DOT cmu DOT edu> |
Subject: | Re: question on backup |
References: | <4EA9071D DOT 30409 AT cs DOT cmu DOT edu> <4EA93FB6 DOT 9030501 AT cornell DOT edu> <0105D5C1E0353146B1B222348B0411A20A39C92B61 AT NIHMLBX02 DOT nih DOT gov> <20111027141824 DOT GA12195 AT ednor DOT casa DOT cgf DOT cx> |
In-Reply-To: | <20111027141824.GA12195@ednor.casa.cgf.cx> |
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 |
On 10/27/2011 7:18 AM, Christopher Faylor wrote: > 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 > Ken: /etc/setup/installed.db is exactly what I was looking for, thanks Barry: Thanks for sed suggestions, makes for a cleaner list of info (which matches my need of "an ascii record" of what I've installed) Chris: I didn't know about cygcheck and had blinders on during my search as I was looking for a data file rather than a utility. Just read the docs, test drove it per docs, and its definitely better than what I was originally looking for. Thanks! Paul -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |