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:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=yCqD W8KFv8OlLlrpAoDHx4f+jKrbBeiZZIEqRIz3h2hVam2lzZFVAdrUC0+G9kU2ux3Q UdE+wOkMeNgo6u/jsyWYni5ta9Ht8er1pp3vbwdMrpcHjD1s7mJk5to9Rqn2dtjk T9Xgr1humo40geTsxma/tznH67QbBZOBidrCkoI= 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:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=ip9bzrhkeK VhCq9fYYd7YzBTsiE=; b=axwSvVev4E+X2j4fFbl1V8JNDsR6hpWHB5H15KaLK/ NBRErlUQMaZ1rgzx4DxGdl6rgRsACWClut/ue7Zn56zJCWDl3TKqiU83++qwzrm1 vLvgV/zmvGRxtG5P45/07NuSLXq//Cr5dHBMIPXynQg2tJPDWcwr7xGhPMmiHR3T 8= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,TO_NO_BRKTS_PCNT autolearn=no version=3.3.2 X-HELO: mail107.syd.optusnet.com.au Date: Tue, 7 Apr 2015 07:47:28 +1000 From: Duncan Roe To: cygwin AT cygwin DOT com Subject: Re: Can I move Cygwin and Cygwin64 to a drive other than C: ? Message-ID: <20150406214727.GA2620@dimstar.local.net> Mail-Followup-To: cygwin AT cygwin DOT com References: <20150401084752 DOT GN13285 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.1 cv=ZuzUdbLG c=1 sm=1 tr=0 a=+cDhJlqnNvz9E7c5l3ERGg==:117 a=+cDhJlqnNvz9E7c5l3ERGg==:17 a=y26AOypDAAAA:8 a=PO7r1zJSAAAA:8 a=M1kyBYkWWGkA:10 a=kj9zAlcOel0A:10 a=iaFubHWvAAAA:8 a=e9J7MTPGsLIA:10 a=HiYvd62sPvFRlTtXKlIA:9 a=CjuIK1q_8ugA:10 X-IsSubscribed: yes On Thu, Apr 02, 2015 at 12:55:51AM -0500, Robert Miles wrote: > On 4/1/2015 3:47 AM, Corinna Vinschen wrote: > >On Apr 1 03:26, Robert Miles wrote: > >>The C: drive on one of my 64-bit Windows 7 computers is approaching > >>90% full, but there are two other drives that are nearly empty. > >> > >>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 > > > > > >YMMV, > >Corinna > > I tried that on C:\cygwin; it gave an error message without copying > anything. I suspect that was because this directory tree included > links to the top-level directories of all of the Windows drives, > including the one holding the Windows 7 operating system. > > I found a way to see the robocopy instructions; it looks like I'll > need to read them thoroughly in order to tell it to copy the links > but not what they point to. > Yes robocopy does have an option to copy symlinks rather than what they point to: I saw it in the robocopy instructions that you're about to read. Cheers ... Duncan. -- 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