public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Arthur Schwarz" <aschwarz1309@att.net>
To: <cygwin@cygwin.com>
Subject: cp -rup fails if a file/directory exists
Date: Sun, 06 Sep 2015 21:16:00 -0000	[thread overview]
Message-ID: <CA4D3A18D8884B79941CA26190CE3636@2600kPC> (raw)

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.

art



--
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-06 21:16 UTC|newest]

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

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=CA4D3A18D8884B79941CA26190CE3636@2600kPC \
    --to=aschwarz1309@att.net \
    --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).