This is the mail archive of the
cygwin
mailing list for the Cygwin project.
CP and Ln can't parse windows path ending in wildcard
- From: "Lawrence Mayer" <lawmaya at gmx dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 20 Oct 2012 15:06:45 -0400
- Subject: CP and Ln can't parse windows path ending in wildcard
CP and Ln can't parse windows path ending in wildcard
e.g.
ln WINDOWS PATH\* DIRECTORY (3rd form)
ln -t DIRECTORY WINDOWS PATH\* Â(4th form)
cp -l WINDOWS PATH\* DIRECTORY
all fail returning error message
'cannot stat `WINDOWS PATH\\*': No such file or directory'
Workaround:
ln WINDOWS PATH/* DIRECTORY
ln -t DIRECTORY WINDOWS PATH/*
cp -l WINDOWS PATH/* DIRECTORY
all appear to work: note forward rather than backward slashes just before wildcard.
I am running cygwin 1.7.17-1 and coreutils 8.15-1, calling above commands from cmd.exe 5.2.3790.3959 on Windows Server 2003 sp2 x32.
--
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