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]

Is this expected "cp" behaviour?


Is "cp" expected to behave as below?

[in$:575] which cygwin-setup
cygwin-setup is /c/home/user/bin/cygwin-setup
[in$:576] ls
setup-1.7.exe
[in$:577] cp setup-1.7.exe /c/home/user/bin/cygwin-setup
cp: cannot create regular file `/c/home/user/bin/cygwin-setup': File exists
[in$:578] cp setup-1.7.exe /c/home/user/bin/cygwin-setup.exe
[in$:579]


-- 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]