![]() |
Page History
...
In your file system, create a JSON file that specifies a list of source and destination locations, as follows:
Code Block { "moveRequests": [ { "sourcePath": <full path in DME to the file/collection to be moved> "destinationPath": <full path in DME to the new file/collection> }, { "sourcePath": <full path in DME to the file/collection to be moved> "destinationPath": <full path in DME to the new file/collection> } ] }
- Make sure that the destination collection or file does not already exist.
Run the following command:
Code Block dm_rename <move-description.json> [rename-status-file] [REST-response]
The following table describes each parameter:
Parameter Description <move-description.json> A path to the JSON file containing the source and destination locations. [rename-status-file] An optional path and filename in your file system. If you specify this parameter, the system creates the specified file in the specified location and saves the status of the move or rename operation (the response from the server) in that file. [REST-response] Include Page shared info - REST-response parameter shared info - REST-response parameter
...