Write a script in Zope that makes a list of all the Image's paths,
then write another script that parses the Z2.log and cross reference
these lists and remove the Image paths that appear in the access log.
Do it long enough and you'll find which ones aren't being used.


2008/11/17 Rupesh P Raj <[EMAIL PROTECTED]>:
> Hi All,
>
> I am working on an application built on top of Zope. Being a heavily used
> system, there are quite a lot of old 'Images' in the ZODB which are not
> referenced anymore. Can I find the images which are not accessed for a long
> time programatically? Is there a last accessed time or so associated with
> every object?
>
> Regards
> Roopesh
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>
>



-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to