Re: Argument list too long

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

 



Ashley M. Kirchner wrote:

Question: at what point would commands such as 'ls', 'cp' and others consider the argument list too long? The reason I'm asking is because I'm getting random results here. One time 'ls' would tell it the argument list is too long when the file count in the folder reached around 2,000 files. Another, like this morning, it let me go all the way to 2,600+ before complaining. And just now it reached 1,900 files and already 'ls' is complaining. That seems random to me. Is there a set number that causes all of these commands to fail with 'Argument list too long' or what convoluted algorithm is used to figure it out?


This is one of those issues that bothers me as well. The reason for the limit is from the "Good Old Days" when memory was expensive and very limited. I normally run into this problem when I have a program that has to call a large number of files and then crashes due to the limit. mainly usenet downloads.

http://www.linuxjournal.com/node/6060/print

I did submit a bug report to allow this to be changed with the possibility of user selectable option.

 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227180

It is a "Won't fix" issue.

With the number of multimedia files on computers, this is becoming an issue. Many applications don't know how to work with xargs by default. Maybe it is time to start putting in bug reports for these applications.

--
Due to the move to Exchange Server,
   anything that is a priority, please phone.
Robin Laing

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux