[Zope] polling a file system

marc lindahl marc@bowery.com
Thu, 06 Sep 2001 01:18:19 -0400


Well, if it's a fixed set, you could suck it into zope using load_site.py
(comes with it)... or you could use LocalFS or ExtFile products to directly
'see' the stuff.


> From: "zope" <zope@antelecom.net>
> To: <zope@zope.org>
> Sent: Wednesday, September 05, 2001 5:05 PM
> Subject: [Zope] polling a file system
> 
> 
> Hi gang!
> 
> i hae a 20 gig drive full of image files (png, jpg, gif), and i would
> like to catalog the file name and location programatically.  i'm wondering
> if and how it may be possible to run a query on zope that would scan and
> catalog a file system (even a windows hard drive), and populate a database
> based on file name, type, size, etc.  the data entry part, i'm sure i have
> down, my big question here is how to scan the hard drive.
> 
> Thanks in advance,
> Shaun
> 
>