This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cp -rup fails if a file/directory exists


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]