question on backup

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Oct 27 14:18:00 GMT 2011


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



More information about the Cygwin mailing list