Mark Logic Command: rename

Renames (moves) documents on a Mark Logic server to a new URI

Synopsis

rename [options] src target

Description

Renames (moves) documents on a Mark Logic server to a new URI
All properties, permissions, and collections are moved along with the document.



-c,-connect uriUse the connection string instead of $MLCONNECT
srcURI of the document to move
targetURI of the target

Example

Assuming the prefix "ml" is imported as the marklogic module,moves /dir/file1 to /dir2/file2

ml:rename /dir/file1 /dir2/file2







MarkLogic Extension Module
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki