xdmp.filesystemDirectoryCreate( pathname as String, [options as Object?] ) as null
Creates the directory specified by pathname. Returns the empty sequence upon success.
http://marklogic.com/xdmp/privileges/xdmp-filesystem-directory-create
xdmp.filesystemDirectoryCreate("/tmp/a/b/c", { createParents: true } )
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.