![]() |
Page History
...
The following example downloads a data .txt data file from the Project_1 collection in DME to the root of the Globus endpoint specified in the hpcdme.properties file.
Code Block |
---|
dm_download_dataobject_globus /Example_Archive/PI_Lab1/Project_1/data.txt /folder1/subfolder1/file1.txt |
In this example, the command performs the following:
- Locates or creates a folder1 folder at the root of the Globus endpoint specified in the hpcdme.properties file.
- Locates or creates a subfolder1 folder within the folder1 folder.
- Downloads the data.txt file from the Project_1 collection in DME.
- Saves that file in the subfolder1 folder as file1.txt.
Multiple Files Example
For another example, consider the following command.
...
Code Block |
---|
/Example_Archive/PI_Lab2/Project_1/data.txt /Example_Archive/PI_Lab2/Project_2/image.jpg /Example_Archive/PI_Lab3/Project_1/image.png |
In this example, the command performs the following:
- At the root of the Globus endpoint, locates or creates a folder structure matching the DME folder structure as listed in the specified file-list.txt file.
- Downloads from DME all files listed in the specified file-list.txt file.
- Saves those files in the new folder structure with the same file names they have in DME.