From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15840 invoked from network); 1 Oct 2002 20:19:13 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 1 Oct 2002 20:19:13 -0000 Received: (qmail 23221 invoked by alias); 1 Oct 2002 20:18:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17752 Received: (qmail 23115 invoked from network); 1 Oct 2002 20:18:33 -0000 Date: Tue, 1 Oct 2002 22:26:32 +0200 From: DervishD To: David =?iso-8859-1?Q?G=F3mez?= Cc: Zsh-workers Subject: Re: Argument list Message-ID: <20021001202632.GA332@DervishD> References: <20021001195417.GA13192@fargo> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20021001195417.GA13192@fargo> User-Agent: Mutt/1.4i Organization: Pleyades Net Sender: =?iso-8859-1?B?UmH6bCBO+vFl?= =?iso-8859-1?Q?z?= de Arenas Coronado Hi David :) > The command 'rm *' gave the error 'zsh: argument list too long'. Obvious ;) That's a good bunch of files to delete ;)) > If expansion doesn't support so many parameters, I'm not quite sure, but I think you can raise the limit on argument list length :???? > what it's the supossed way to remove all > these files without deleting the directory? The easier is find+xargs. 'find' will feed the filenames (-print0 is your friend here if you have 'strange' names) to xargs, which will process them a handful at a time. Of course, I may miss some point here, I'm not a Zsh gurú. Raúl