delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/28/15:24:07

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
Message-ID: <00e001c0e7a8$8fa8f2f0$ba3a243f@ca.boeing.com>
From: "Michael A. Chase" <mchase AT ix DOT netcom DOT com>
To: "Axel Kowald" <axel AT itb DOT biologie DOT hu-berlin DOT de>, <cygwin AT cygwin DOT com>
References: <3B122854 DOT 43A5EBA8 AT itb DOT biologie DOT hu-berlin DOT de>
Subject: Re: Too many files for: rm *.txt ??
Date: Mon, 28 May 2001 11:52:14 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

The file wildcard expression is expanded by the shell before rm is called
and overflows the command line buffer.  Select fewer files or clean up more
often.

A for loop over the alphabet (numbers and upper and lower case) followed by
a final *.txt to catch the remainder should help you clean up your current
backlog.

--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Axel Kowald" <axel AT itb DOT biologie DOT hu-berlin DOT de>
To: <cygwin AT cygwin DOT com>
Sent: Monday, May 28, 2001 03:28
Subject: Too many files for: rm *.txt ??


> 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 ?



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019