Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-ID: <00e001c0e7a8$8fa8f2f0$ba3a243f@ca.boeing.com> From: "Michael A. Chase" To: "Axel Kowald" , References: <3B122854.43A5EBA8@itb.biologie.hu-berlin.de> Subject: Re: Too many files for: rm *.txt ?? Date: Mon, 28 May 2001 11:52:14 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" To: 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