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]" To: "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> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Content-Transfer-Encoding: 8bit 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