public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Cliff Hones <cliff@hones.org.uk>
To: cygwin@cygwin.com
Subject: Re: cp -rup fails if a file/directory exists
Date: Mon, 07 Sep 2015 00:35:00 -0000	[thread overview]
Message-ID: <55ECDBB9.3080209@hones.org.uk> (raw)
In-Reply-To: <CA4D3A18D8884B79941CA26190CE3636@2600kPC>

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

      reply	other threads:[~2015-09-07  0:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-06 21:16 Arthur Schwarz
2015-09-07  0:35 ` Cliff Hones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55ECDBB9.3080209@hones.org.uk \
    --to=cliff@hones.org.uk \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).