walking a directory with very many files
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Tue Jun 16 22:52:28 EDT 2009
In message
<234b19ac-7baf-4356-9fe5-37d00146d982 at z9g2000yqi.googlegroups.com>, thebjorn
wrote:
> Not proud of this, but...:
>
> [django] www4:~/datakortet/media$ ls bfpbilder|wc -l
> 174197
>
> all .jpg files between 40 and 250KB with the path stored in a database
> field... *sigh*
Why not put the images themselves into database fields?
> Oddly enough, I'm a relieved that others have had similar folder sizes ...
One of my past projects had 400000-odd files in a single folder. They were
movie frames, to allow assembly of movie sequences on demand.
More information about the Python-list
mailing list