![]() |
Page History
...
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.
...