This is a common problem, where the shell expands the argument list until it blows up. The most common way around this is to use xargs:
http://www.unixreview.com/documents/s=8274/sam0306g/ /Scott Ballinger Pareto Corporation Edmonds WA USA 206 713 6006 On 8/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all. > > This is a bit off-topic, but I believe the expertise is here. . . > > I have routines that parse through Unix files in a directory and remove > them based on age. If the number of files exceeds some limit I've not been > able to narrow down, I get a response from the scripts that it can't do > the job because there's too many files in the directory. > > Does anyone know: > > 1. what I'm talking about and what causes it? > > 2. how to solve this through some tunable parameter, preferrably not > requiring a kernel rebuild? > > TIA, > > -- > Karl Pearson > Director of I.T. > ATS Industrial Supply, Inc. > [EMAIL PROTECTED] > http://www.atsindustrial.com > 800-789-9300 x29 > Local: 801-978-4429 > Fax: 801-972-3888 > > "To mess up your Linux PC, you have to really work at it; > to mess up a microsoft PC you just have to work on it." > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
