08-20-2013 08:15 PM
Is there an example showing how to use one of the Nuxeo Shell's automation commands to import an exported (.zip) workspace?
I used the DM/DAM webapp to "export" a workspace and now I would like to use the Nuxeo Shell to import the .zip into another/different workspace.
I named the export file "exported.zip" and put it into the directory on my local workstation from which I launch the Nuxeo Shell client.
Here is what I've tried to no avail:
The operation fails with the following message:
java.lang.RuntimeException: Cannot execute {Authorization=Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y, Content-Type=multipart/related; boundary="----=_Part_5_380224087.1377035560517", Accept=application/json+nxentity, /}
Can you point me to or provide me work example of how I can do a successful import from the Nuxeo Shell?