======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 uri||Use the connection string instead of $MLCONNECT|| ||src||URI of the document to move|| ||target||URI 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 %% ---- [[ModuleMarkLogic MarkLogic Extension Module]]