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: Added an example.

...

ParameterDescription
<source-path>
A path in your file system, specifying the data that you want to copy. The system copies the contents of the folder you specify.
<destination-path>
A path within DME, specifying where you want the system to create the new collectiondata.

Metadata can be provided for each directory and file in a specific metadata file called <[directory,filename]>.metadata.json. The metadata file should exist in the same path in its corresponding directory/file. For example, the metadata for the file sample.txt should be sample.txt.metadata.json

For example, the following command copies the contents (folders and files) of the JaneDoe folder in the file system to the Project_New collection in DME

Code Block
dm_register_directory /cygdrive/c/Users/JaneDoe /TEST_Archive/PI_Lab1/Project_New

For instructions on performing similar tasks in the GUI, refer to the following pages:

...