X-Spam-Check-By: sourceware.org Date: Sun, 6 Aug 2006 21:04:27 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Checking XCOPY Exit Value in Cygwin Bash Message-ID: <20060807010427.GB32330@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <74382BAFEAA DOT 000000D2wolfpack AT inbox DOT com> <20060806203655 DOT GC30223 AT trixie DOT casa DOT cgf DOT cx> <44D664A8 DOT 30904 AT inbox DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44D664A8.30904@inbox.com> User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Mon, Aug 07, 2006 at 06:52:40AM +0900, Shane wrote: >Christopher Faylor wrote: >>Is there some reason why you are not using "cp" to accomplish your >>task? "cp --help" should provide you with all sorts of options for >>copying files. You should be able to press "cp" into service for this. >> >>Using DOS utilities and DOS paths for this type of thing is putting you >>on the fringes of support for Cygwin. I really wouldn't recommend it. >>Clearly this is not such a Windows-specific problem that it outside of >>the capabilities of a UNIX solution. > >My initial attempt was with cp. But I didn't see a way of preserving >the original directory structure of the source dir, What's wrong with "cp -a" or "cp -r"? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/