delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/03/18:14:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
From: Rolf Campbell <Endlisnis AT mailc DOT net>
Subject: Re: /bin/rm lots of files
Date: Mon, 03 May 2004 18:13:58 -0400
Lines: 22
Message-ID: <c76g77$mod$1@sea.gmane.org>
References: <20040503213757 DOT GA368 AT ingber DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: ottgw.tropicnetworks.com
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
In-Reply-To: <20040503213757.GA368@ingber.com>

I suspect this is a command-line too long problem, but I can't say for 
sure since you didn't really provide any details.  If I'm correct, then 
you cannot change the limit easily.  You should either delete the files 
in smaller lists, or if you are trying to delete all files in a 
directory you can do:
rm -r path/to/files

or

find path/to/files | xargs rm

or something like that.

Lester Ingber wrote:
> I couldn't find what I thought I recalled as a similar posting.
> In my Makefile I have a command to remove a directory of files.
> I get a complaint that there are too many files to remove (about 1000).
> How do I change the default for increasing the number of listed/open files?
> 
> Thanks.
> 
> Lester


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

- Raw text -


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