X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <5caea3690909281242s5506a817tfd2c073ca281ebf@mail.gmail.com>
References: <5caea3690909281242s5506a817tfd2c073ca281ebf@mail.gmail.com>
Date: Wed, 30 Sep 2009 13:27:36 +0400
Message-ID: <e2480c70909300227j748bb6efr3ed7445fe2a8905b@mail.gmail.com>
Subject: Re: Cygwin Set up - Migrate to new machine
From: Alexey Borzenkov <snaury@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, Sep 28, 2009 at 11:42 PM, Kevin Holleran <kdawg44@gmail.com> wrote:
> I am building a new laptop and was wondering if there was a way I
> could copy some ini or setup file from cygwin to the new one so that
> the cygwin installer would install the same packages as opposed to
> having to go through and tweak the install to get it the way I want it
> again.

Assuming you are using Cygwin 1.7 I've created a script for myself,
that allows me to make a stripped down install cmd that would
reinstall all packages that I had installed, see:

http://kitsu.ru/cygwin-reinstall-cmd.py

It has mirror and cygwin directory names hard coded (change them to
what you use), and prints out commands that you can redirect to e.g.
cygwin-reinstall.cmd. Unless you have way too many packages it should
also fit into Windows command line limit...

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

