On 121020 12:35, Eric Blake wrote:
On 10/20/2012 12:50 PM, Lawrence Mayer wrote:
Cp can't hardlink unqualified wildcard

cp -l * DIRECTORY

fails with error 'cp: target `file' is not a directory'

Most likely, this is not an error in cp, but a misunderstanding on your
part about how globbing operates.  I bet you have a file in your current
directory whose name starts with '-', and is thus being treated as an
option by cp.

Wrong guess. No file starting with '-'.

Larry


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

Reply via email to