28 May
2001
28 May
'01
7:16 p.m.
On Mon, May 28, 2001 at 06:13:21PM +0200, Peter Bengtsson wrote:
On my site I have quite a lot of Photo's meta_type=['Photo'] and they cause the zexp file to become very very very big (currently 86 Mb for 180 Photos). I would like to export my whole site but skip certain paths or meta types.
The best way would be to write a little External Method or Python Script that calls manage_exportObjects() with a filtered object.
... Does anybody have a good solution? Or something to give me a better start.
Just use ZShell: find / --type Photo --exec "export {}" then all your photos will in in Zope's var directory as .zexp files. man export man find bye, PS: The CVS code works fine with such a command, just tell me if yours doesn't. Jerome Alet