I often want to clear a remote CMIS folder programmatically (from a script).
For instance to remove test files or do some recurrent clean-up.


  • Executable from command-line
  • Takes a CMIS folder in input
  • Remove all documents and sub-folders from that folder
  • Gratis, preferably open source
  • Works with Alfresco/Nuxeo/SharePoint/Documentum and as many other CMIS servers as possible

1 Answer 1


I did not find such a tool so I wrote this one:



./clear-cmis-folder.sh /the/folder http://the/cmis/url theuser thepassword

It removes all documents and folders under that path.
Gratis, MIT license.
Tested on Alfresco.

  • I was going to suggest that python could probably do the job and found that is how you have done it +1. Apr 3, 2017 at 20:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.