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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=DKMdtcEJjeq+Bih58UG1z1osVthp/p +xX6sCkqQI0gjbtk2sODL2DCtr354p5jwS7719tKHSyzVALZKdQthjOeRZdZv+fn DaXV33hIBFiEm7mxIY4GjgPHEtzw4W/lfRHiZ7MSdvhCuHOv+Sd14UUzaS/yvbL5 JIEZYr5e8UAec= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=QqElJvJeBgWqoUnpDjkvW8fKOio=; b=NjAE vWU1eTK1J9RuGnRIEM2SJtvN9b83IXI60psY3m6l7mEGVw0AidSYneF/8X38MR9Z b/69/ROKZoiAxUwNmGA/hq+xXeog31YYtg3FSs8Gt2y/on3Ss2WEXz8NV3tsr68O L5geUVRM+cLXfYjngFeNldshipAIn0hSPdYZ474= 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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Robert Miles Subject: Re: Can I move Cygwin and Cygwin64 to a drive other than C: ? Date: Thu, 2 Apr 2015 00:55:51 -0500 Lines: 28 Message-ID: References: <20150401084752 DOT GN13285 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit user-agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:37.0) Gecko/20100101 Thunderbird/37.0 in-reply-to: <20150401084752.GN13285@calimero.vinschen.de> X-IsSubscribed: yes 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. -- 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