delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Subject: | =?UTF-8?Q?rm:_cannot_remove_`fil*.txt':_No_such_file_or_directory?= |
From: | =?UTF-8?Q?mirz?= <mirz AT o2 DOT pl> |
To: | cygwin AT cygwin DOT com |
Mime-Version: | 1.0 |
Message-ID: | <5501af8c.2ea311e4.4822ebcb.eab08@o2.pl> |
Date: | Thu, 08 May 2008 14:02:19 +0200 |
X-Originator: | 83.24.15.171 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id m48C2rSD011081 |
Hi all, I have small problem with removing files in the Cygwin. When I created file.txt: sh-3.2$ touch file.txt sh-3.2$ ls file.txt mylist pliczek.txt rm1.exe I can't remove it with * because bash told me No such file or directory sh-3.2$ rm fil*.txt rm: cannot remove `fil*.txt': No such file or directory When I used * with ls it works correct sh-3.2$ ls fil* file.txt I tested rm under windows console and works correct. So I think rm in cygwin recognize * like text no like special character. I tried add rm ./fil*.txt but without effects then I tried rm -fr fil*.txt and rm 'fil*.txt' and was the same result. So how can I remove this file using star (*)? I don't want write rm file.txt Regards mirz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |