10 Oct
2008
10 Oct
'08
10:49 a.m.
JeanMichel FRANCOIS wrote:
zopepy recatalog.py -c path/to/etc/zope.conf --recatalog --commit
zopepy is a python interpreter with all zope modules in its PYTHONPATH
common.py is used in production on our servers
recatalog.py is a kind of template adapted to fit your needs (not tested, but should work) I m using this to perform migrations of datas (objects)
...or you could just use Stepper which is designed for this kind of thing and has a recatalog step in its library. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk