I have a directory with on the order of 10K files in it that match a particular pattern (*.obs), and I need to do stuff like run an MD5SUM on everything, copy move or delete all the files of that pattern, etc. I can accomplish the task by breaking it up with a more specific pattern of course (1*.obs, 2*.obs, 3*.obs ... etc.), but it's a PITA
I don't even know exactly where the limit is - it's somewhere > 3800, but I haven't chased it down exactly.
So why does this limit exist?
Is this a limitation of BASH, or do all of the shells suffer from this problem?
I'm half tempted to go poking around the source to fix it :| In the past, I've written a wrapper script around the offending commands to handle it, but that's such a kludge.
I don't even know exactly where the limit is - it's somewhere > 3800, but I haven't chased it down exactly.
So why does this limit exist?
Is this a limitation of BASH, or do all of the shells suffer from this problem?
I'm half tempted to go poking around the source to fix it :| In the past, I've written a wrapper script around the offending commands to handle it, but that's such a kludge.