delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/25/15:05:18

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=XEU1vEyheEU81CwG
uCIPWedOSgPzr3Pw6E6v1KOVnIww35gGuYWUOyMxeLEgIUe1zUNN8rc/ffo7aJ1Z
i2FjmaSxbisfckpo9NQqTfJTxQbC+kQ8uG5Uh0aT66jwr8AFZxGtUcGNMUTmOI8B
Kuj7UqORcMyZ2dOIn0zx7RcWNqU=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=eufT+MV1vnksRpSge2+HKq
1/pak=; b=wXgixOwzfJgT0YsrtVgDDBlqgoSzaog6LObgOHRVc/zz8+XcSdvfpQ
wN5+gxbMdFFL6UM7D+ReHtsMkWJP3dlGqxf2dVnFPjnB+PxoiZFQqd73TMCO3nW3
Gy2OkchHZ3c1PdtUTbUCKlR54FXj9Kh6tu2aRPmyCRf306nWEwI08=
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=-5.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,KAM_THEBAT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*UA:Bat!, H*r:ip*192.168.1.10, H*RU:192.168.1.10, Hx-spam-relays-external:192.168.1.10
X-HELO: forward103j.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1543176301; bh=XbYohT/KoyNbubmIon71JWppZPSETDPEbPhRSDH0oc0=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=XhH4mZimXdSr/aWWGFWiAoTi3on0h32k3BqVIGS+fF45hrVTpqIi7T8Oc6AX/eKlO 8EPu26LBlByZ2iollktWqha1fXBecDwHnwp7seekZE+TUW1JKM1/ec2suanZ/MzbpA 2zs5vIVamBl3zKdsvU6MmVuUzl0vs9BNuG4rT1es=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1543176300; bh=XbYohT/KoyNbubmIon71JWppZPSETDPEbPhRSDH0oc0=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=ANIP125Z8YEQEyrR+3gHtC/C7Z/QFQMVpKRkEZ8OCEyH9WtVg63+6Y1COQEzE5t2w e48LwAsrmmC5YrTEwUIjPVvAsC4k1JF0T3jZS8MpQ6mPJGxNm2OciV7oRg9MpEy6VL FszeGcJe2coUxvE/4mEg0mWj69adVS4Jj1pvnfsA=
Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Sun, 25 Nov 2018 22:58:24 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1381677255.20181125225824@yandex.ru>
To: L A Walsh <cygwin AT tlinx DOT org>, cygwin AT cygwin DOT com
Subject: Re: tar cygwin64/ from old to new computer:
In-Reply-To: <5BFAF665.2030202@tlinx.org>
References: <20181125143854 DOT GA20164 AT ingber DOT com> <8d846c46-bfc4-7841-2ba7-1b354a9763bf AT t-online DOT de> <5BFAF665 DOT 2030202 AT tlinx DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id wAPK5GXm014002

Greetings, L A Walsh!



> On 11/25/2018 9:08 AM, Hans-Bernhard Bröker wrote:
>> Am 25.11.2018 um 15:38 schrieb Lester Ingber:
>>> I'd like to simply transfer my cygwin64/ directory from my old Thinkpad
>>> to my new Thinkpad, both running Win 10 x64 Pro.  E.g., I would put my
>>> old c:/cygwin64/ onto a flash SSD USB drive e:/ .
>>> cd c:/
>>> tar cfp - cygwin64 > e:/cygwin64.tar &
>>> Then e:/cygwin64.tar would be mounted on my new computer.
>> 
>> You're overlooking a chicken-and-egg problem there: your new computer
>> has no 'tar' to unpack that file.
> ---
>         Hmm...can't tar it, but he could drag&drop from Explorer
> like he was moving the image (but do a copy instead).

It would screw permissions on Cygwin files/directories.

>         It should pick up everything, as that's what explorer
> would do.  

>         One caveat.  if you have a /etc/passwd + group...
> you will need to change the entries for local users on the disk cuz
> your computer's "machine id" has changed, and local accounts will
> get a different UID because of that.  If you don't use the /etc/passwd
> and group...then it might just work...though there will need to be
> some entry in the registry.  Might be easiest to install an empty
> cygwin on new machine (minimal install, only required packages),
> then copy your old cygwin-dir on top of the new one.

>         The worst that could happen is you'd have to reinstall the 
> normal way. (Obviously you don't destroy old image before new image
> is verified as working).


-- 
With best regards,
Andrey Repin
Sunday, November 25, 2018 22:57:46

Sorry for my terrible english...
--
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