delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=BAYES_00,SPF_HELO_PASS,TW_MK,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: copy cygwin installation to a different location and preserving all "cygwin" rights |
Date: | Wed, 10 Nov 2010 09:31:01 -0500 |
Lines: | 35 |
Message-ID: | <ibeab5$bl3$1@dough.gmane.org> |
References: | <ibe7ua$ug3$1 AT dough DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9pre) Gecko/20100821 Lightning/1.0b2 Lanikai/3.1.3pre |
In-Reply-To: | <ibe7ua$ug3$1@dough.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Have you tried cp(1) and/or mv(1)? On 11/10/2010 08:40 AM, Thomas Jung wrote: > Hello, > > I would like to "move" my cygwin installation to > a different location, but preserving the usual paths to > all the apps by using a junction point to that moved/copied > subtree of cygwin. > > The 1st main problem ist that copy/move with the windows > explorer (xcopy) doesn't preserve all the rights. > > How can I copy the whole cygwin subtree to a new location > an preserving all the "cgwin/unix-styled" rights (I don't mean the > windows rights) > > With windows it would look like: > > xcopy C:\cygwin\*.* H:\cygwin\ /e /y > move C:\cygwin C:\cygwinOld > mklink /j C:\cygwin H:\cygwin > > But that doesn't preserve the usual "unix" rights inside the cygwin > installation. But how can I do such a task? > > Thomas > > > > -- Andrew DeFaria <http://defaria.com> Why is the alphabet in that order? Is it because of that song? -- 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 |