* cp -rup fails if a file/directory exists
@ 2015-09-06 21:16 Arthur Schwarz
2015-09-07 0:35 ` Cliff Hones
0 siblings, 1 reply; 2+ messages in thread
From: Arthur Schwarz @ 2015-09-06 21:16 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cp -rup fails if a file/directory exists
2015-09-06 21:16 cp -rup fails if a file/directory exists Arthur Schwarz
@ 2015-09-07 0:35 ` Cliff Hones
0 siblings, 0 replies; 2+ messages in thread
From: Cliff Hones @ 2015-09-07 0:35 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-07 0:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-06 21:16 cp -rup fails if a file/directory exists Arthur Schwarz
2015-09-07 0:35 ` Cliff Hones
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).