bug-coreutils
[Top][All Lists]
Advanced

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

Re: bug report : about rm command


From: Eric Blake
Subject: Re: bug report : about rm command
Date: Wed, 21 May 2008 05:58:57 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[re-adding the list]

According to address@hidden on 5/20/2008 10:18 PM:
| U:\>rm --version
| rm (coreutils) 5.2.1

Thanks.  This version is several years old, and typically means you
downloaded rm as part of a poorly-maintained port.  I would suggest that
if you want to use GNU tools on Windows, that you use a different port;
I'm particularly fond of cygwin (see cygwin.com).

| I have resove my question by copy command instead of rm command.
| If not exist z:\_%1.dll copy z:\%1 z:\_%1.dll
| Instead of :
| If exist z:\%1.dll rm z:\%1.dll z:\_%1.dll

copy is a windows cmd builtin, which is why it has no problem
understanding the \ syntax.  It may also be that you merely wanted to use
rm -f instead of plain rm, to ignore warnings about attempts to delete
files that are not present.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkg0DoEACgkQ84KuGfSFAYB2JACfepBATORgbyExIJOkhr3EXY86
CG4An2Ec9ovG9KOQLNAlOL7fVhSYHJcS
=xfc0
-----END PGP SIGNATURE-----




reply via email to

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