bug-coreutils
[Top][All Lists]
Advanced

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

Re: Cygwin rm.exe does not work with wildcard


From: Etienne Buira
Subject: Re: Cygwin rm.exe does not work with wildcard
Date: Fri, 30 Oct 2009 01:41:39 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Oct 29, 2009 at 11:52:16AM -0700, Ba, Yong wrote:
> To Whom It May Concern,
> I am in the process of evaluating Cygwin.
> I ran the following
> 
> C:\>rm.exe -f \\networkdrive\sharedfolder\cygwin\*.*
> <file:///\\networkdrive\sharedfolder\cygwin\*.*> 
> 
> No files was removed.
> 
> Here is the version I am using
> 
> C:\>rm.exe --version
> 
> rm (GNU coreutils) 7.0
> 
> Copyright (C) 2008 Free Software Foundation, Inc.
> 
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> 
> This is free software: you are free to change and redistribute it.
> 
> There is NO WARRANTY, to the extent permitted by law.
> 
> Written by Paul Rubin, David MacKenzie, Richard M. Stallman,
> 
> and Jim Meyering.
> 
> Thanks.

Hi.

The filename extension is not rm's task, but the shell's one (microsoft
does it another way), it's why it's named 'shell expansion'.

To get expected behaviour, you can use bash, for instance, or any other
shell that performs shell expansion.

Regards




reply via email to

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