delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <44D664A8.30904@inbox.com> |
Date: | Mon, 07 Aug 2006 06:52:40 +0900 |
From: | Shane <wolfpack AT inbox DOT com> |
User-Agent: | Thunderbird 1.5.0.5 (Windows/20060719) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Checking XCOPY Exit Value in Cygwin Bash |
References: | <74382BAFEAA DOT 000000D2wolfpack AT inbox DOT com> <20060806203655 DOT GC30223 AT trixie DOT casa DOT cgf DOT cx> |
In-Reply-To: | <20060806203655.GC30223@trixie.casa.cgf.cx> |
X-IWM-ACU: | xpyIi19hVGjbJBAJpvn7QV9b8c1xHQdIgO_GDwHUQfzg3u7GS4b3FmBaGx9S qYIE71-FxUcOJ84QnQciws9UMssE3j4iCTJYvEOtUrnUMR_dxcK0u9UFgtSg @ |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
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, inside the destination directory. XCOPY just seemed easier. Will have a go at 'cp' again. Thanks and regards Shane -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |