OK, first off, I'm on Win32 (XP) using 5.3 of coreutils. 

I have been knocking my head on this and I'm feeling *really* stupid.
I swear, I'm unix literate, but I can't seem to get the following to
work without cheating:

cp -uvp "c:\dir with space\long path\*" k:\path

I call this "cheating": (though it works)

cp -uvp c:\dirwit~1\longpa~1\* l:\path

this also works:

cp -uvp "c:\dir with space\long path\filename" k:\path

The problem seems to crop up when using wildcards in a path enclosed
by quotes. The exact error that cp gives is that it can't stat the
path, so it's an invalid argument.(it does echo back the escaped path
-- c:\\dir with space\\long path\\*)

I haven't been able to find much of anything in the documentation that
specifically addresses the windows implementation...and I didn't see
anything in the bug archives.

Am I missing something *really* obvious, or have I tripped across an
old bug? (this behavior is consistent with coreutils 5.2.1 and the
older fileutils versions).

Thanks in advance!

-adin
-- 
First, Do No Harm. Second, Do Good.
   --unknown


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to