delorie.com/archives/browse.cgi | search |
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=Wi | |
xGqXNOR0iZh4cLhrsyewgUw8P087b+3pYCfdG/C4r67qCS4CYkhZRHEjITSn47ZB | |
GTgGANufjG9aoGi3w0/mLTWvECZwpkFWIgcEn1I5ZwA0GbdBB7fKEafMTEz73pQQ | |
ikN4t/Q907VsWsK5aUjbIzp5lMjTsD0CzgnsPFQgU= | |
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=sStBsdRF | |
/0O7BQ8PXwMa/BuSa9s=; b=vorD/yqWt0SI4sL+jDCIFsMbmk2AYRDzz2XKdz1y | |
ylPq9AEFMMD5BkvFtgtiNnmkIBi/nYNpTWW9YNO/IAzPrCD6Q/bW0N5tyHD4ZhFW | |
i9GsvhGSJ7vXniC902ZbCVssyHPnqHE5MMnJfg2O7nuuRR9bhU3NAWZCAcHH9d1k | |
tZM= | |
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-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=1.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-wi0-f177.google.com |
MIME-Version: | 1.0 |
X-Received: | by 10.180.228.104 with SMTP id sh8mr43755202wic.61.1428173171296; Sat, 04 Apr 2015 11:46:11 -0700 (PDT) |
In-Reply-To: | <20150402081749.GF13285@calimero.vinschen.de> |
References: | <mfga42$ee7$1 AT ger DOT gmane DOT org> <20150401084752 DOT GN13285 AT calimero DOT vinschen DOT de> <mfilln$eq0$1 AT ger DOT gmane DOT org> <20150402081749 DOT GF13285 AT calimero DOT vinschen DOT de> |
Date: | Sat, 4 Apr 2015 14:46:11 -0400 |
Message-ID: | <CAB+hQJ7DxJ6Qye4r395Dpu+emBxnyQeZvXa56yv+iwr3UsDH=A@mail.gmail.com> |
Subject: | Re: Can I move Cygwin and Cygwin64 to a drive other than C: ? |
From: | Eric Pement <eric DOT pement AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Follow-up question for Corinna or anyone who might know the answer: > >On Apr 1 03:26, Robert Miles wrote: > > >>Can I move the entire Cygwin and Cygwin64 directory trees to one > > >>of the nearly empty drives, without losing the extra packages I've > > >>already downloaded and the files I've created? > > > > > >Robocopy allows to copy an entire Cygwin tree while keeping all > > >permissions intact. I had good luck with something along the > > >lines of > > > > > > robocopy C:\cygwin64 D:\cygwin64 /e /purge /z /copyall /sl . . . With an added comment that > I *did* move Cygwin installations using > robocopy and the above works for me. In an elevated shell. I recently needed to move a Cygwin installation, about 6 GB, to another drive accessible only on a network file system. Due to the number of files, copying everything would have taken a week or more, because everything slows down when the number of files increases. The solution I ultimately took was not the best. I compressed everything into a single *.7z (7-zip) archive, moved the single archive across the network, and uncompressed the *.7z archive on the target machine. Although the total time was much, much faster (maybe 5 or 6 hours, including 30 minutes to uncompress the archive), all my file permissions were set to the same value, regardless of what they had been previously, and any extended attributes were lost entirely. I didn't like it, but I had no realistic alternative. For future resource, what is the best way to archive a Cygwin installation into a single file, which will preserve all file properties and permissions, so that the archive can be transferred to another location? (For the sake of clarity, presume that Cygwin does NOT exist in the target location, so a non-Cygwin tool must be used to expand the archive.) Thanks in advance. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |