If you wish to utilize the Globus transfer tools from the command line, you can download the Globus Command Line Interface (CLI). It is available as a Python package.
Installing the Required Tools
Since the tool is a Python package, you will need Python installed, as well as the pip installer.
Some versions of Python will not be installed in ~/.local. If you have trouble getting globus commands to execute, try the following commands to change the path:
All Operating Systems:
To install the Globus CLI, use the following command: pip install --upgrade --user globus-cli.
Optional: if you wish to use the Globus CLI from within a python virtual environment, see instructions here. Otherwise, you may continue using this guide.
To start, you will need to log in to Globus: globus login. Follow the instructions to get logged in. A browser window may appear.
To make sure that your login was successful, type globus get-identities 'go@globusid.org'. A successful output will look something like this: c698d42e-d274-11e5-bf75-1fc5bf53bb56.
Globus CLI Basics
Endpoint Search
Endpoint Management
Use variables for endpoint IDs: Endpoint IDs are cumbersome. You cannot rename them, but you can store them as variables. For example:
Now you can use the variable to display information and manage files (with truncated output):
Make a directory:
List the contents of a directory:
File transfer between endpoints:
First, search for a second endpoint. Then set that endpoint as a Bash variable.
Make a single file transfer from epCCLAHPC to epGLOBUS1.