Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Argument list
- X-seq: zsh-workers 17752
- From: DervishD <raul@xxxxxxxxxxxx>
- To: David Gómez <david@xxxxxxxxxxxx>
- Subject: Re: Argument list
- Date: Tue, 1 Oct 2002 22:26:32 +0200
- Cc: Zsh-workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20021001195417.GA13192@fargo>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades Net
- References: <20021001195417.GA13192@fargo>
- Sender: Raúl Núñez de Arenas Coronado <raul@xxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author