Is this expected "cp" behaviour?

Jacob Jacobson news@biyani.org
Thu Aug 20 15:22:00 GMT 2009


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



More information about the Cygwin mailing list