Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3142065
By: adinb



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

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 guys over at the gnu coreutils list think its a bug in the GnuWin32
implementation of coreutils....is there anything specific to the windows shell
to take care of filename globbing?

Thanks in advance!

-adin

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to