[CentOS] ls and rm: "argument list too long"

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



Jussi Hirvi wrote:

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

This issue is in Fedora, Ubuntu, CentOS, RHEL, (put any other linux
version you want here).

When you get too many files in a directory, you will receive this error.
 The same SOURCE code is compiled regardless of the "Distro".

As you have seen. there are many solutions to this problem ... HOWEVER,
picking a new distro is not one of them

Most people never hit this limitation, but it is certainly possible and
there in all versions of Linux.

Thanks,
Johnny Hughes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20081024/5c97dcda/signature.bin

[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