dootch Posted July 8, 2003 Share Posted July 8, 2003 I like to follow the KISS rule (keep it simple, stupid), so I plan to ftp all my images (over 5000) to the /images directory rather than creating subcatagories. Any drawbacks? Quote Link to comment Share on other sites More sharing options...
Silencer Posted July 8, 2003 Share Posted July 8, 2003 No drawback from "tech side", but i suggest you split products images and page design images. Quote There is always more than one way to do it. And always Keep It Simple, Stupid. Link to comment Share on other sites More sharing options...
loxly Posted July 8, 2003 Share Posted July 8, 2003 I wouldn't do that if I were you. How do you plan to manage changing, adding, deleting without having to go through a directory of 5000 files? Sounds like a nightmare in the making. If you are using ftp anyway, there is no reason not to use subdirs and sort images by common properties. Quote [no external urls in signatures please, kthanks] Link to comment Share on other sites More sharing options...
Guest Posted July 9, 2003 Share Posted July 9, 2003 Make sure that you are using a robust file system. I'm sure that ReiserFS will handle that. I don't think that ext3 will. I'm fairly certain that ext2 and ufs will not. Good luck, Matt Quote Link to comment Share on other sites More sharing options...
Guest Posted July 9, 2003 Share Posted July 9, 2003 Asking for trouble there. Making it with a directory structure will save you untold hassles when updating products Quote Link to comment Share on other sites More sharing options...
Silencer Posted July 9, 2003 Share Posted July 9, 2003 Make sure that you are using a robust file system. I'm sure that ReiserFS will handle that. I don't think that ext3 will. I'm fairly certain that ext2 and ufs will not. What makes you think that? ext2 easily can handle 5000 files. Even FAT32 can. Quote There is always more than one way to do it. And always Keep It Simple, Stupid. Link to comment Share on other sites More sharing options...
dootch Posted July 9, 2003 Author Share Posted July 9, 2003 Wow, its great to get so many responses for a newbie's question. The reason I cannot apply common sense to sort the images is because I am already living the nightmare. The 5000 images exist in just one folder, thanks to my distributer. They did bother to include a product spreadsheet which I can sort by vendor to get a desired list of jpg filenames. So with a a reasonable couple dozen filenames selected in Excel, how I select just these images from my massive image folder to upload (to /images/XYZ) without taking Excederine? Thanks for the help! Quote Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2003 Share Posted July 10, 2003 What makes you think that? ext2 easily can handle 5000 files. Even FAT32 can.I googled for a reference for a bit. Here is one I found. What I remember is ufs having problems at around 2000 files. It will store more than that, but directory lookups take a long time with that many files. One of reasons why ReiserFS was created was to provide a more robust alternative in cases where one would reasonably want to have more files than that in one directory (mail servers, mp3s, etc.). Traditionally, people have used crude hashing techniques to split files into multiple sub-directories when that happened, e.g. /home/u/s/username. This can be a problem in cases like web servers, where file processing needs to be done relatively quickly. Good luck, Matt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.