Thx Enrique.
As far as I remember the rm command in 5.1 was lacking a session.save() :)
Tiry
Enrique Perez a écrit :
Hi all,
I'm trying to delete documents using Nuxeo Shell (5.1.6-1 version)
with the "rm" command. When I execute the command, the file is
correctly removed, but if I close the shell and open it again the
removed document appears again. I don't know why. Anyone knows?
So, I've created a script file (the attached file) that removes
documents and all of their childrens. With this new script the
documents are correctly removed from the platform. The syntax is:
script --file delete.js <path-to-remove>
Regards.
------------------------------------------------------------------------
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm