Save Binary data.

Mike Meyer mwm at mired.org
Fri Aug 19 23:10:43 EDT 2005


Larry Bates <lbates at syscononline.com> writes:

> Directories with large numbers of files was a problem in FAT16 and
> FAT32 filesystems but not really a problem in NTFS or Linux (at
> least that I've found).

Depends on how you define "large" and what Linux file system you're
using. Of course, if you open the directory in a GUI directory
browser, you're probably going to be unhappy no matter what the
underlying file system.

The standard Unix solution to this is to break the files out into
subdirectories. Create a subdirectory with the name being the first
few letters of the file name, and then store the file in that
subdirectory. Easy to do programmatically, it's still easy to find
files "by hand", and you can make it as fine-grained as you want.

      <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list