RE: ls and rm: "argument list too long"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


Are you sure you are comparing apples to apples?  There is nothing
particularly Centos specific about this problem.  I've seen it on a variety
of *NIX systems over the years, though I presume some distributions or UNIX
variants may have upped the buffer size.

Here is an interesting blog post which illustrates how you can get into this
kind trouble:

http://stevenroddis.com/2006/10/07/binrm-argument-list-too-long/index.html



-geoff




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

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux