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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=Whm0mxImpJevmecz U1AeVFHOzIXtlm/UQizUXK3ukWWwGvmFYxP7hYp0l6ZNblG+PUPJQLDstPTgde3k SdUXSs/l+OFthRH0UePQoXpUREYCqjqdmobskwhW9l8D1ULDLVYiTPrXAEA4SPvQ 8OSHSLiYC96fTkTDjiJ3q+zb85U= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=BEqFXzYDGlBZF8OH/jgFa+ J9E50=; b=wYTt05UWUyV1kU3kX5vt7It2rADM2oo+7qgG5kbODnhKqB4vJIbxMh E4QI+QANJXymwdy8vjfn6BfXhhNS4YBh6MuZ6FUoHzTHqk6r16DREaaHdXB2NxGl EB46SU86DP3kOkbJfOWrFIh5pcuqLa5ZQoucC+yylrUrGwS4nWx5k= 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.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: knockando.watchfront.net.uk Subject: Re: cp -rup fails if a file/directory exists To: cygwin AT cygwin DOT com References: From: Cliff Hones Message-ID: <55ECDBB9.3080209@hones.org.uk> Date: Mon, 7 Sep 2015 01:35:05 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) (knockando.watchfront.net.uk) X-Spam-Report: knockando.watchfront.net.uk has scanned this email for spam. Results:- RP_MATCHES_RCVD=-1 (total -1.0, current threshold 5.0) X-IsSubscribed: yes On 06/09/2015 22:16, Arthur Schwarz wrote: > cp -rup dir /h/ works for version 8.23-4 but for version 8.24-1 it produces > an error " cannot create directory '/h/dir': File exists", where 'dir' is a > directory and '/h/' is a flash drive. > > Is there something I can do to force a save? I do not want to delete then > save, I'd rather update a file/dir that exists or create a file/dir that > doesn't. > > I've unsuccessfully looked for the cp update notice. I think these are what you were looking for: https://cygwin.com/ml/cygwin/2015-08/msg00472.html https://cygwin.com/ml/cygwin/2015-08/msg00485.html coreutils version 8.24-3 probably fixes your problem. -- Cliff -- 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