Directory file limts

Robbo ml at
Thu Oct 13 18:34:20 UTC 2005

On Thu, 2005-10-13 at 12:25 +0200, Duncan Anderson wrote:
> Can someone tell me if there is a limit to the number of files in a 
> directory, and if so what is it? Or is the answer to this question 
> dependent on what file system is being used?

I don't believe there is a limit, but of course the more files you have
in a directory the slower it will be to do any kind of listing (browse /
ls, etc) in that directory which will slow programs down that use the
directory.  Also some Unix commands may not work on a large number of
files (mainly where you may use a * for a wildcard, etc).

More information about the ubuntu-users mailing list