On Tue, Nov 12, 2002 at 10:38:55AM -0500, Adam Voigt wrote:
> I have a directory with 39,000 files in it, and I'm trying to use the cp
> command to copy them into another directory,
> [...]
> "argument list too long"
No, it is not a kernel limit, it is a limit to your shell (bash, for
example). Look at xargs to get around it.
A related limit is that the popular ext2 and 3 file systems get
inefficient when directories have so many files. The work-around for
that is to have your files either hashed or organized across a
collection of directories.
-kb
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:26 EST