bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filename Globbing issues on Win32?


From: Adin Burroughs
Subject: Filename Globbing issues on Win32?
Date: Mon, 9 May 2005 01:12:19 -0600

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]