Launching from command line

nuxeo@nuxeoubuntu:~$ pwd
/var/lib/nuxeo/server
nuxeo@nuxeoubuntu:~$ java -cp client/nuxeo-shell-5*.jar org.nuxeo.shell.Main


To connect to a remote server type:

connect http://localhost:8080/nuxeo/site/automation -u Administrator


Press <tab> for command completion (list of commands) e.g:

Administrator@localhost:/> ls
task-root 
document-route-models-root
management
default-domain
Administrator@localhost:/> cd default-domain/workspaces/
Administrator@localhost:workspaces> ls
Patricia

Administrator@localhost:workspaces> cat Patricia/

Workspace -- Patricia
UID: 707010dd-9d4c-411e-97b1-1ba73b9c3f04
Path: /default-domain/workspaces/Patricia
Type: Workspace *** <-- make sure your Patricia folder is a workspace
Last Modified: 3/10/13 11:02 AM
State: project
Lock: none

PROPERTIES
dc:modified = 2013-10-03T03:02:28.44Z
dc:title = Patricia

You can see all the properties of the document using cat -all

cat -all Patricia

You can inspect the properties of the document using e.g.

getp -xpath dc:title doc:707010dd-9d4c-411e-97b1-1ba73b9c3f04

A similar command is available for setting a property

setp -xpath pifile:fulltext -value "test" doc:cad420a6-a1d1-4f3b-889f-e47c48a5e3f7

  • No labels