[CentOS] ls and rm: "argument list too long"
Ralph Angenendt
ra+centos at br-online.deFri Oct 17 10:53:44 UTC 2008
- Previous message: [CentOS] ls and rm: "argument list too long"
- Next message: [CentOS] Re: ls and rm: "argument list too long"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jussi Hirvi wrote: > Lawrence Guirre (lawrence.guirre at gmail.com) 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20081017/16d49322/attachment-0001.sig>
- Previous message: [CentOS] ls and rm: "argument list too long"
- Next message: [CentOS] Re: ls and rm: "argument list too long"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list