This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: question on backup
- 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
- References: <4EA9071D.30409@cs.cmu.edu> <4EA93FB6.9030501@cornell.edu>
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