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 a Code Block for the metadata, based on Udit's 2/28 reply and based on my own testing in UAT.

...

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. In the metadata file, specify the metadata that you want to upload, as follows:

Code Block
{ 
    "metadataEntries": [
      {
        "attribute": "description",
        "value": "my-dataObject-description"
      },
      {
        "attribute": "my-second-attribute-name",
        "value": "my-second-attribute-value"
      }
    ]
}


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. 

...