delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/09/03:12:37

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Kk
mwGzirjonPNNoLD1pD1tbO1KO/atP/mHff0CsrDr1HFI/fvJNhycfDHbuT1vArs1
EzDp0M6Ox3Sj+syBNzbGOWrmZB7hftYA3XdzkkPpefWeWJVoyBiB7eD6G9FZvUz9
GwBE7e00/jWgSEkoVlaOgWk0PVLT0rXYymYfhmtnc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=Wp+PelA4
kj4iLZnWizb7hsOx+dw=; b=akU5Q2QTs/49fd+hpJ+iJnwCqQH6kImvdV1p9NNk
PwFZ70Rqk0Pg7WvDw1ra8o7kr1njqrmWFuj/WTDf/fA4OBf7hE7VMY1K9PsrR3iJ
w2cPwjxOKW+/8iD5KkTcMMunpYMaocQeOl2HTjPHL/GhhgrpUg09gFFZNaFnixZo
dO4=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qe0-f44.google.com
MIME-Version: 1.0
X-Received: by 10.49.35.179 with SMTP id i19mr7524290qej.5.1381302729871; Wed, 09 Oct 2013 00:12:09 -0700 (PDT)
In-Reply-To: <CAJ3eT+92CdByebNmd2ozN5fpOy9_TCBgwf7B1o6yS96zEidjWw@mail.gmail.com>
References: <5252F02B DOT 2060705 AT free DOT fr> <CAJ3eT+92CdByebNmd2ozN5fpOy9_TCBgwf7B1o6yS96zEidjWw AT mail DOT gmail DOT com>
Date: Wed, 9 Oct 2013 09:12:09 +0200
Message-ID: <CAM9pMnNmhWSahjwmxGEHRT-tYPY1-HUy-07ZTdGhiQVmJYWb5w@mail.gmail.com>
Subject: Re: transfering cygwin configuration from win XP to win 7
From: Robert Klemme <shortcutter AT googlemail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Tue, Oct 8, 2013 at 11:33 PM, Chris Olin <chris AT chrisolin DOT com> wrote:
> I recently did this at work by backing up the C:\cygwin directory, my
> Windows user profile directory and manually creating the directory
> path C:\cygwin\etc\setup, then copying
> C:\cygwin\etc\setup\installed.db to the new computer, running the
> installer, and changing the install method from "Default" to
> "Reinstall". Because my previous installed.db file is where the
> installer would be looking for it, it thinks that all of the packages
> I had installed are installed, so switching the install method to
> reinstall, everything is reinstalled.

That's a nice trick!  Thank you!

> I pass 'winsymlinks' to the CYGWIN environment variable and create a
> symlink from /cygwin/c/Documents and Settings/Chris Olin to
> /home/colin and update /etc/passwd to point to the new home directory.
> After recreating this symlink, it was just a matter of manually
> copying over configuration files and directories back into my home
> directory.

I follow a different approach: I have a cygwin-home under my Windows
home directory and have created a symlink pointing from /home/rklemme
to that directory.  Advantage: all backups from my Windows home also
include cygwin settings and I need to only update that single symlink
if I throw away my cygwin installation and reinstall.

Kind regards

robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019