Jussi Hirvi wrote:
> Lawrence Guirre ([EMAIL PROTECTED]) kirjoitteli (17.10.2008 12:55):
> > piping ls to xargs should do the trick. man xargs for details.
> 
> Ok, thanks for ideas, Laurent and Lawrence.
> 
> A strange limitation in ls and rm, though. My friend said he hasn't seen
> that in Fedora. 

Than he doesn't have as many files in the directory as you have:

#define ARG_MAX       131072    /* # bytes of args + environ for exec() */

That's from /usr/include/linux/limits.h.
Also see <http://partmaps.org/era/unix/arg-max.html>

Ralph

Attachment: pgpeirx03Id1f.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to