Terminal
Esta página aún no está disponible en tu idioma.
The terminal is an experimental shell feature.
Available commands:
| Command | Description |
|---|---|
| cd | Changes the current working directory. |
| cp | Copies a node. |
| find | Finds nodes. |
| grep | Prints lines matching a pattern. |
| help | Prints help. |
| lock | Locks node. |
| ls | Lists information about the nodes (the current directory by default). |
| mkdir | Creates a folder. |
| mv | Moves a node. |
| perms | Changes the node permissions. |
| properties | Shows the node properties. |
| pwd | Prints the name of the current/working folder. |
| rename | Renames a node. |
| rm | Removes a node. |
| unlock | Unlocks a node. |
| version | Shows the OpenKM version. |
- To extend available commands check Creating your own Command shell plugin.
Example of usage
Section titled “Example of usage”OpenKM TerminalType 'help' to get command list
okmAdmin@openkm:~$ pwd
okmAdmin@openkm:~$ ls -a -d -a -p -s -v
2015-07-02 01:10:14 0 okmAdmin /okm:root/folder2015-07-02 01:16:12 0 okmAdmin /okm:root/folder32015-07-01 05:18:00 139215 okmAdmin 1.1 /okm:root/redacted_481.pdf2015-07-02 01:42:11 718 okmAdmin /okm:root/d9592728-6234-419e-b46f-995b47529fb7-test2015-07-02 01:38:08 0 okmAdmin /okm:root/record
okmAdmin@openkm:~$ cd folder
okmAdmin@openkm:~$ ls
Administration.html
okmAdmin@openkm:~$ properties Administration.html
Object type: documentUUID: 19dcc9cf-f348-4773-83d4-f6350f3f9aebName: Administration.htmlPath: /okm:root/folder/Administration.htmlTitle:Class: 0Size: 68Version: 1.1Checksum: c2c47ebe1a6d7828db2325af9fabeec7Language: esCreated: 2015-07-02 11:34:21Created by: okmAdminModified: 2015-07-02 11:35:32Modified by: okmAdminMIME type: text/htmlStatus: AvailableSigned: NoDescription:Subscribed: No
okmAdmin@openkm:~$ pwd
/okm:root/folder/
okmAdmin@openkm:~$ mkdir test
okmAdmin@openkm:~$ ls
testAdministration.html
okmAdmin@openkm:~$ mv Administration.html test/.
okmAdmin@openkm:~$ ls
test
okmAdmin@openkm:~$ cd test
okmAdmin@openkm:~$ ls
Administration.html