[Zope] File List

Andreas Jung Andreas Jung" <andreas@andreas-jung.com
Thu, 22 Aug 2002 18:37:18 +0200


Why not create a ZCatalog with a FieldIndex on bobobase_modification_time.
Then you could use a range search on the ZCatalog.
Btw. Zope 2.6 comes with a DateRangeIndex. This might solve your problem
too.
Maybe you can steal it from the Zope 2.6 tree and use it under 2.5.X (not
tested).

Andreas
----- Original Message -----
From: <eric.n.dunn@bankofamerica.com>
To: <zope@zope.org>
Sent: Thursday, August 22, 2002 18:20
Subject: [Zope] File List


>
>
> I'm looking for a way to list all files (DTML Documents etc) created in
for
> the past two days.
>
> I found this
> http://www.zope.org/Members/hawkfish/zpt_list_files
> article
> but
> would like to know how to edit it to list all files created after certain
> dates or previous two days.
>
> Eric Dunn
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )