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:to:subject:mime-version:message-id :content-type:content-transfer-encoding; q=dns; s=default; b=TDQ U0/AfEsleYHzrhEp5NUyCM2O4CRZ6KFWWx/zk54hQ//PbW/fbrxikb5t+KNooS5P GEms281qbgCTqKLMD+o0T0L151ZCjijFSG31JIe7tUM4smPcnQxYxoMmhfeSEn7C Fj1qlopu2e/L8rS4h9U8NzuxPXI+hvohKcJoc9I0= 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:to:subject:mime-version:message-id :content-type:content-transfer-encoding; s=default; bh=8NxKZznTf F2GCwYAX7G+jdpFU+4=; b=iq1t06+pyPuvNvHu+8pY3xwvzdxEMoeV1UhTnzJ2y hzG/mwqA1l6ioyAXNY2p3apMRfwYXsLW44j33c6EvUQ3imISVH5PN3qW292gJren nR66M/RTX5IZbXnrh9TsyF4HryOG5kSiN22QkBSRTsSAP1u9Yt60ZFlmkAJ5e6p1 IY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-7.6 required=5.0 tests=BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=H*c:ISO-8859-1, boxes, HX-Languages-Length:1160, letter X-HELO: co02.mbox.net X-USANET-Received: from co02.mbox.net [127.0.0.1] by co02.mbox.net via mtad (C8.MAIN.4.17E) with ESMTP id 082yaEogi9776M02; Fri, 31 Jan 2020 14:06:08 -0000 X-USANET-Routed: 3 gwsout-vs Q:cmvirus X-USANET-Routed: 3 gwsout-vs Q:cmvirus X-USANET-GWS2-Tenant: usa.net X-USANET-GWS2-Tagid: UNKN X-USANET-Source: 165.212.11.132 OUT kdbotts AT usa DOT net ca32.cms.usa.net CLR X-USANET-MsgId: XID887yaEogi7739X02 X-USANET-Auth: 165.212.8.203 AUTO kdbotts AT usa DOT net web03.cms.usa.net CLR Date: Fri, 31 Jan 2020 08:06:08 -0600 From: "KARL BOTTS" To: "cygwin" Subject: Re: Is there a way to clone-install Cygwin? Mime-Version: 1.0 Message-ID: <424yaEoFi7856Set.1580479568@web03.cms.usa.net> Content-Type: text/plain; charset=ISO-8859-1 Z-USANET-MsgId: XID824yaEogi1040X32 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 00VE6mmR014363 >>> Cygwin is totally portable! You can simply copy the installation folder to >>> another PC, copy the shortcut (edit target if needed) and it will work. >> How do you copy it? >> Which archive container do you use? I have been using this approach for years. To a new naked Windows box, if you can "mount" it over the network, e.g., map a drive letter to it, then you can use cygwin tools from an existing box with cygwin, to copy cygwin to the new. I usually use cygwin tar, but I think 'cp -a' will work. I think in the past, I have used robocopy. The key is the links and symlinks: normal Windows tools won't get them right. For upgrades, once cygwin is on both boxes, I always use tar. I've got this down to pretty much routine. I do it once or twice a year. I upgrade cygwin on one box, vet it for a few days, then upgrade several others. I untar into an empty dir, then use native cmd.exe 'move' to swap the dirs. Be sure to use 64-bit cygwin. The 32-bit used to work, but now and then I would have to fuss with "rebase". I have never had that problem with the 64-bit. --- Karl Botts, kdbotts AT usa DOT net -- 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