---------- Forwarded message ---------- From: Adin Burroughs <[EMAIL PROTECTED]> Date: May 9, 2005 1:12 AM Subject: Filename Globbing issues on Win32? To: bug-coreutils@gnu.org
OK, first off, I'm on Win32 (XP) using 5.3 of coreutils. (gnuwin32) 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 or 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). The Gnu bug-coreutils list seems to think that it's a bug in the GnuWin32 implementation. Any thoughts? Thanks in advance! -adin -- First, Do No Harm. Second, Do Good. --unknown -- First, Do No Harm. Second, Do Good. --unknown ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users