CMIS-CLIENT(1)
π NAME π
cmis-client β command line CMIS client tool. That's the whole vibe bestie, one tool, one job, go off β¨
π SYNOPSIS π
okay so here's literally every shape this command can take, no cap:
cmis-client help
cmis-client [-v] --url url://to/binding list-repos
cmis-client [-v] [-u login] [-p secret] --url url://to/binding
-r repo-id repo-infos
cmis-client [-v] [-u login] [-p secret] --url url://to/binding
-r repo-id show-root
cmis-client [-v] [-u login] [-p secret] --url url://to/binding
-r repo-id get-content id
cmis-client [-v] [-u login] [-p secret] --url url://to/binding
-r repo-id --input-file path/to/file --input-type mime/type
[--input-name name.ext] set-content id
cmis-client [-v] [-u login] [-p secret] --url url://to/binding
-r repo-id [--object-type some:cmistype]
[--object-property prop-id=prop-value...]
create-folder parent-id name
cmis-client [-v] [-u login] [-p secret] --url url://to/binding
-r repo-id --input-file path/to/file --input-type mime/type
[--input-name name.ext] [--object-type some:cmistype]
[--object-property prop-id=prop-value...]
create-document parent-id name
cmis-client [-v] [-u login] [-p secret] --url url://to/binding
-r repo-id [--object-property prop-id=prop-value...]
update-object object-id
cmis-client [-v] [-u login] [-p secret] --url url://to/binding
-r repo-id [type-by-id] | [show-by-id] | [show-by-path] |
[delete] arg...
cmis-client [-v] [-u login] [-p secret] --url url://to/binding
-r repo-id [checkout] | [cancel-checkout] | [get-versions]
arg
cmis-client [-v] [-u login] [-p secret] --url url://to/binding
-r repo-id [--input-file path/to/file]
[--input-type mime/type] [--input-name name.ext]
[--object-property prop-id=prop-value...] [--major]
[--message] checkin pwc id
likeβ¦ she's flexible π
πΈ DESCRIPTION πΈ
The cmis-client tool sends queries over the net to a CMIS-enabled server to access or modify its content. It is originally demonstrating what libcmis is capable of.
that's it, that's the tea β it literally exists to show off what libcmis can do, and honestly? iconic behavior π
β¨ OPTIONS β¨
π GLOBAL OPTIONS
-v,--verboseβ shows a lot of information to monitor what is happening behind the scene. This helps a lot to debug libcmis. (basically the "let me see everything" button π)--helpβ show the help and exit. This is equivalent to use thehelpcommand.--url url://to/bindingβurl://to/bindingneeds to point to the service document of either AtomPub or WebService binding.-r,--repository repo-idβ operate on the repo-id CMIS repository. If there is only one repository on the server, this parameter is not needed and that repository will be automatically selected. Use this parameter if there are several repositories on the server.-u,--username loginβ connect as login to the CMIS server. If not provided, connect anonymously.-p,--password secretβ use secret to authenticate on the CMIS server.--no-ssl-checkβ disables the SSL certificate verifications. Lowers the security, but may be handy to work around bad certificates like expired or self-signed ones.
bestie listen, that one literally lowers your security π it's fine as a workaround for cursed certs but do NOT make it your whole personality, fr fr
--proxy urlβ use url as the HTTP proxy. Setting this value will override the system proxy settings.--proxy-username loginβ use login to authenticate on the HTTP proxy.--proxy-password secretβ use secret to authenticate on the HTTP proxy.--noproxy listβ proxy settings won't apply to hostnames and domain names listed in list. This value is a coma separated list.--oauth2-client-id client_idβ application client id to use in the OAuth2 authentication flow.--oauth2-client-secret client_secretβ application client secret to use in the OAuth2 authentication flow.--oauth2-auth-url urlβ URL to authenticate the user in the OAuth2 authentication flow.--oauth2-token-url urlβ URL to authenticate the application in the OAuth2 authentication flow. The access and refresh tokens are provided by this URL.--oauth2-redirect-uri uriβ URI where the OAuth2 authentication flow will redirect after a sucessful authentication.--oauth2-scope scopeβ requested scope to access in the OAuth2 authentication flow.
π¦ MODIFICATION OPERATIONS OPTIONS
these are the ones that change stuff, so like, main character energy only π«Ά
--input-file path/to/fileβ uploadpath/to/fileas the new content stream of the object.--input-type mime/typeβ set the mime type of the new content stream of the object to mime/type.--input-name name.extβ set the remote content stream filename of the new content stream of the object to name.ext.--object-type some:cmistypeβ set the object type of the CMIS object to be created to some:cmistype. This is the equivalent of--object-property cmis:objectTypeId=some:cmistype.--object-property prop-id=prop-valueβ set a property to be updated or added to the CMIS object. prop-id is the property definition id and prop-value is the value to set on it.--majorβ create a major version when performing a checkin.-m, --message messageβ set the checking message.
π COMMANDS
helpβ show the help and exit.list-reposβ list the repositories available on the server.repo-infosβ displays the informations and capabilities of the selected repositoryshow-rootβ displays the root node infos and children.get-content idβ download the content of the CMIS object corresponding to id in the current directory.set-content idβ upload a file as the content stream of the CMIS object corresponding to id.create-folder parent-id nameβ create a sub folder in folder parent-id named name. The default type of the folder to create iscmis:folder, but this can be changed using--object-typeoption.create-document parent-id nameβ create a document in folder parent-id named name. The default type of the document to create iscmis:document, but this can be changed using--object-typeoption.
Note that the --input-file and --input-type may be mandatory, depending on the type of the document to create and its constraints.
update-object object-idβ replace the writeable properties given with--object-propertyoption on the object matching id object-id.type-by-id arg...β displays the infos and children (if any) of all the CMIS types corresponding to the listed ids.show-by-id arg...β displays the infos and children (if any) of all the CMIS objects corresponding to the listed ids.show-by-path arg...β displays the infos and children (if any) of all the CMIS objects corresponding to the listed paths.delete arg...β deletes the CMIS objects corresponding to the listed ids. If the node is a folder, its content will be removed as well.
okay real talk, that last one is giving no takebacks π folder delete takes the whole squad down with it, be sure bestie
checkout argβ checkout the document corresponding to the provided id and display the infos of the created private working copy.cancel-checkout argβ cancel the Private Working Copy corresponding to the node id.get-versions argβ display the versions (if any) of all the CMIS object corresponding to the provided id.checkin argβ check in the private working copy corresponding to the provided id and display the infos of the resulting document. Use the--majorand--messageoptions to define the version to create and the commit to associate to it. Note that repositories without the ability to update the private working copies will need the--input-file,--input-typeand--object-propertyoptions.
β USAGE β
displays the root node of repository A1:
cmis-client -r A1 --url http://localhost/atom show-root
displays the nodes with id 133 and 116 of repository A1:
cmis-client -r A1 --url http://localhost/atom show-by id 133 116
see? not scary at all, you got this π
π AUTHOR π
CΓ©dric Bosdonnat
π REPORTING BUGS π
Report bugs to https://github.com/tdf/libcmis/issues.
go tell them, they wanna know, i promise π
and that's the whole page bestie!! this was libcmis 0.6.3, dated 2018-12-23, and the manual is called CMIS-CLIENT(1) β read it, love it, go show-root on something πβ¨ mwah π
π¦ where this page comes from
- arch rolling: libcmis 0.6.3-2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND MPL-1.1
- fedora 43: libcmis-tools 0.6.3-1.fc43 Β· GPL-2.0-or-later OR LGPL-2.1-or-later OR MPL-1.1
- fedora 44: libcmis-tools 0.6.3-1.fc44 Β· GPL-2.0-or-later OR LGPL-2.1-or-later OR MPL-1.1
- nixpkgs unstable: libcmis 0.6.3
- ubuntu stonking: cmis-client 0.6.3-1 Β· MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms