[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

When is a directory too big, too full?

I have a design question.  I have a search that returns info and loads a varriable amount of jpg's and .txt files.  For different catagories I have seperated the jpg's and txt files into seperate directories.

i.e.  jpg_10  and txt_10,  jpg_20  and txt_20

then I use a varriable to find the correct directory

this has limited other things I am trying to do, because of constantly changing paths.


Is there an advantage or disadvantage to spliting up my jps's into seperate directories.  If I combine them I could have 10,000 files in one directory.  If I keep seperate $2,000 max in a directory.

1 Solution
Jaime OlivaresCommented:
You could gain a little performance by dividing your files into several directories, also you gain in order and manual handling, but the answer is hard because it is highly Operating System/File System dependent.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now