| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| To: | Axel Kowald <axel AT itb DOT biologie DOT hu-berlin DOT de> |
| Cc: | cygwin AT cygwin DOT com |
| Subject: | Re: Too many files for: rm *.txt ?? |
| References: | <3B122854 DOT 43A5EBA8 AT itb DOT biologie DOT hu-berlin DOT de> |
| From: | Andrew Markebo <flognat AT flognat DOT myip DOT org> |
| Date: | 28 May 2001 12:50:04 +0200 |
| In-Reply-To: | <3B122854.43A5EBA8@itb.biologie.hu-berlin.de> |
| Message-ID: | <m3snhp3fz7.fsf@localhost.localdomain> |
| Lines: | 23 |
| User-Agent: | Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
| MIME-Version: | 1.0 |
This is a problem due to a 'restriction' of your shell.. Solution.. do
something like 'find . -name "*.txt" | xargs rm ' which splits the
lists and runs many rm's..
/Andy
/ Axel Kowald <axel AT itb DOT biologie DOT hu-berlin DOT de> wrote:
| Hello,
|
| I'm using tcsh (6.10) under cygwin 1.1.8 and everything runs nicely.
| However, when I try to delete >5500 files using rm *.txt I get
| "/usr/bin/rm: Invalid argument". It seems that the shell or rm can't
| handle so many files.
|
| Is this a known problem and what can I do about it ?
|
| Many thanks,
|
| Axel
|
| --
| Want to unsubscribe from this list?
| Check out: http://cygwin.com/ml/#unsubscribe-simple
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |