X-Recipient: archive-cygwin@delorie.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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=W/eS600lKXJWsS4pMh4LWTMWeRH+vpRgysIj182omIX
	eSu87etgNCLDuYcfwPy+FtXq0F633YHj+WB0DAeB+uiUFOc5NYAGioKOia7g7Ucm
	gj1WNCVSPVbuzZtjdRir1bI8aN//2HmT+j7ViqM1nKPHRJ2B7DVSsKUnOGvPYtVc
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=k7frevG08Zt97aR459hzeFXD/I4=; b=VnaTdvQxZ/5EzOYad
	5KXVpJk1J7qOm/Olit9uIkHx1pFEv/HlGi/+sKuQw8LjNGdNXoi5bWJibzwR5mcD
	aaxxFWq+W0OfcpVdp1Lh+okHb9meS0tQngeZZS9qGWnZoiADETtlkZ+iKynw5bUA
	dWOc0uRQ3CwKGSh47RC+YS5b3Q=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=BAYES_40,GIT_PATCH_2 autolearn=ham version=3.3.2 spammy=pick, computers, schrieb, Lester
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <5BFAF665.2030202@tlinx.org>
Date: Sun, 25 Nov 2018 11:22:13 -0800
From: L A Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: tar cygwin64/ from old to new computer:
References: <20181125143854.GA20164@ingber.com> <8d846c46-bfc4-7841-2ba7-1b354a9763bf@t-online.de>
In-Reply-To: <8d846c46-bfc4-7841-2ba7-1b354a9763bf@t-online.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes



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


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

