[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Zope] setting properties for multiple objects
On Wed, May 01, 2002 at 09:59:29AM -0700, Russell Uman wrote:
>
> is there any way with a vanilla zope 2.5.1 install to set a property for multiple objects at the same time? (say, all objects in a
> directory?)
>
> is there a zope product that does something this?
<shameless>
you could download ZShell from :
http://www.librelogiciel.com/software/
you can even test a restricted version online before downloading.
</shameless>
and use its find and setprop commands, try something like :
find . --type "DTML Document" --exec "setprop --name author --value homer {}"
this will recursively set the property "author" to value "homer" on
all your objects which meta type is "DTML Document" from the
current folder.
if the property doesn't already exist then use the addprop command before.
hth.
Jerome Alet
_______________________________________________
Zope maillist - Zope@xxxxxxxx
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 )
This mailing list archive is a service of Copilotco.