Skip to content

Globus CLI

Overview

Globus CLI is a graphic-less interface for the Globus file manager application. It houses the full feature-set of Globus through the Command Line Interface (CLI) or terminal.

Availability

Cluster Module/Version
BOSE 3.24.0
BGSC 3.24.0

Setup

Enable the globus-cli modulefile:

module load globus-cli 

You will need to connect your online Globus account to your Globus CLI session. Type:
globus login
Follow the provided link to a browser, log into your UWEC/organization's network, and copy/paste the provided authentication link into your terminal.

Transferring Files

In order to transfer files, a user needs to write a transfer command that matches the following syntax:

globus transfer <SRC_UUID>:path/to/file.jpg <DEST_UUID>:./file.jpg

Note

Make sure you provide the file's desired name in the destination path. Transfers do not work by only specifying a directory.

This is very closely related to the syntax of an scp command. The UUID acts as a host machine followed by a path, and the first path acts as the source while the second path the destination.
Assuming you are transferring data to or from the BOSE cluster, you will use one of the following UUIDs for your transfer command:

UWEC - BOSE Home Directories:

26970a2d-6e76-4853-adab-c4596a910bb9
UWEC - BOSE Group Directories:
4296d970-aa79-484e-946f-3779ac3f7512

The second UUID will be the one of your PC which must have the Globus application installed, logged into, and setup as a collection.

If your PC's collection is owned by a user with an @uwec.edu domain, the following command will list both yours and BOSE's endpoints:
globus endpoint search uwec
For non-UWEC users, you can replace uwec with any keyword that might find your PC's collection (i.e. collection name, owner email, etc.)
globus endpoint search <keyword>

Attempting your first transfer command will have Globus CLI prompt you with a globus consent command which it will ask you to run. Copy, paste, and run the command, and follow the provided URL to approve your PC's Globus collection. You will now be able to successfully run transfer commands.