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.

--
Enrique Pérez Olivares.
Dpto I+D.
Yerbabuena Software.
[email protected]
http://www.yerbabuena.es
Tlf/Fax: 902 995 246

Attachment: delete.js
Description: application/javascript

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to