I delete them by character... e.g. rm -rf *1.tmp, rm -rf *2.tmp, and so on. Don't know of any other way to do it. - although I wrote a little C program once to handle it for me.
-Tom
-----Original Message-----
From: redhat-list-bounces redhat com [mailto:redhat-list-bounces redhat com]On Behalf Of Chris
Sent: Wednesday, May 25, 2005 1:19 PM
To: redhat-list redhat com
Subject: Large number of files in single directory
There seems to be a filesystem limitation on most flavors of Linux I've
worked on, in terms of a max number of files in a single directory - before
tools like tar, gzip, rm, mv, cp and others stop working properly. For
example, I have some users that have 2000+ files in a single directory (some
as many as 10,000 files) and trying to tar these directories is always
coming up with "argument list too long."