This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: cp -p fails with .exe files
- To: <cygwin at cygwin dot com>
- Subject: RE: cp -p fails with .exe files
- From: "Francis Litterio" <litterio at pyxsys dot net>
- Date: Thu, 21 Jun 2001 10:43:53 -0400
- Reply-To: <litterio at pyxsys dot net>
Cliff Hones wrote:
> Cygwin cp is ".exe" aware - meaning that "cp xxx yyy" will copy
xxx.exe to
> yyy.exe if xxx.exe exists (and xxx does not). But "cp -p xxx yyy"
fails -
> it does the copy then reports that it is unable to preserve the time
for "yyy".
This may be related (I see it in 1.3.1):
bash$ rm -f foo bar foo.exe bar.exe # Just to start clean.
bash$ touch foo.exe
bash$ cp foo bar
cp: `foo' and `bar' are the same file
Apologies if this has been brought up before.
--
Francis Litterio
franl@world.std.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple