The following table provides examples for some of the most commonly-used DME CLU commands:
Detailed Instructions | Example |
---|---|
Generating a DME API Authentication Token via the CLU |
dm_generate_token
|
Creating an Empty Collection via the CLU |
dm_register_collection my-collection.json /Example_Archive/PI_Lab1/Project_New
|
Registering a Data File via the CLU |
dm_register_dataobject /cygdrive/c/Users/JaneDoe/my-metadata.json /Example_Archive/PI_Lab1/Project_New/Data.txt /cygdrive/c/Users/JaneDoe/data.txt
|
Updating Collection Metadata via the CLU |
dm_register_collection my-collection.json /Example_Archive/PI_Lab1/Project1
|
Updating Data File Metadata via the CLU |
dm_register_dataobject /cygdrive/c/Users/JaneDoe/my-metadata.json /Example_Archive/PI_Lab1/Project1/data.txt
|
Downloading One or More Files via the CLU |
dm_download_dataobject /Example_Archive/PI_Lab1/Project_Orig/sample.txt /cygdrive/c/Users/JaneDoe
|
Downloading One or More Collections via the CLU |
dm_download_collection /Example_Archive/PI_Lab1/Project_Orig /cygdrive/c/Users/JaneDoe
|