NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Moving the Code Block up.

...

You can also rename a collection or file. 

  1. 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>
      }
     ]
    }
  2. Make sure that the destination collection or file does not already exist. 
  3. Run the following command:

    Code Block
    dm_rename <move-description.json> [rename-status-file] [REST-response]

...