...
...
Globus CLI allows you to programmatically transfer files. Globus CLI is installed on Talapas login nodes and accessed by running:
Code Block | ||
---|---|---|
| ||
[marka@talapas-ln2 ~]$ module load python3
[marka@talapas-ln2 ~]$ globus login |
You can also install Globus CLI on your local machine for use with Globus Personal Connect. Below are instructions for installing on a Mac.
Globus CLI reference documentation
https://docs.globus.org/cli/reference/
Globus CLI installation documentation
https://docs.globus.org/cli/installation/
...
https://docs.python-guide.org/starting/install3/osx/#install3-osx
Install Globus CLI
pip install --upgrade --user globus-cli
Globus CLI examples
Globus Login
After running globus login
in your terminal window, you will be directed to a web page to login with your UO credentials.
...
Note: A destination directory name is required. Also, $dest_ep
has a 'Host Path' of /projects/hpcrcf/marka/testing/
this is not visible in the CLI command ouput 'globus endpoint show $dest_ep
'
Code Block | ||
---|---|---|
| ||
Marks-MacBook-Pro:~ marka$ source_ep=97e58874-d33f-11e9-939f-02ff96a5aa76 Marks-MacBook-Pro:~ marka$ dest_ep=79c2ad02-acd1-11e9-a379-0a2653bc2660 Marks-MacBook-Pro:~ marka$ globus transfer -r --verify-checksum $source_ep:/Users/marka/globus_ep/linux-5.2.13-copy1/ $dest_ep:linux-copy1 Message: The transfer has been accepted and a task has been created and queued for execution Task ID: ad31ba86-d35d-11e9-939f-02ff96a5aa76 |
...
Code Block | ||
---|---|---|
| ||
Marks-MacBook-Pro:~ marka$ globus task show 4a86fc98-d358-11e9-9cf3-0edb67dd7a14 Label: None Task ID: 4a86fc98-d358-11e9-9cf3-0edb67dd7a14 Is Paused: False Type: TRANSFER Directories: 4302 Files: 64545 Status: SUCCEEDED Request Time: 2019-09-09 23:19:38+00:00 Faults: 0 Total Subtasks: 68848 Subtasks Succeeded: 68848 Subtasks Pending: 0 Subtasks Retrying: 0 Subtasks Failed: 0 Subtasks Canceled: 0 Subtasks Expired: 0 Completion Time: 2019-09-09 23:24:40+00:00 Source Endpoint: marka-MacBookPro Source Endpoint ID: 97e58874-d33f-11e9-939f-02ff96a5aa76 Destination Endpoint: marka-testing Destination Endpoint ID: 79c2ad02-acd1-11e9-a379-0a2653bc2660 Bytes Transferred: 819556855 Bytes Per Second: 2714391 |
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...