1. Home
  2. Docs
  3. General Computing Environ...
  4. GCE Globus Endpoint
  5. Advanced Globus Usage

Advanced Globus Usage

Advanced Globus Usage

Depending on your use case, you may occasionally need to utilize Globus to transfer data from an environment that is not GUI accessible. This can be done using the Globus Command Line Interface. The following can be used as a reference for using the interface.

Globus on the CLI

The Globus CLI is a standalone application that can be installed on the user’s machine and used to access the Globus service.

The CLI provides an interface to Globus services from the shell, and is suited to both interactive and simple scripting use cases.

It is open source and available at https://github.com/globus/globus-cli

Installation

Globus highly recommends using pip to install the CLI.

Using pipx to install

Install
pipx install globus-cli

To update Globus CLI

Update the CLI
pipx upgrade globus-cli

To reinstall (something with Python or Globus CLI has changed)

Reinstall (if needed/something has changed)
pipx install globus-cli --force

Using pip

pip install globus-cli

Note: Globus highly recommends against installing with “pip install –user” or “sudo pip install” due to known issues with these methods.

To gain familiarity with using the Globus command line, Globus has an excellent quick-start guide as well as more advanced scenarios in their CLI documentation. Both are linked below:

quickstart

CLI reference

Globus Connect Personal for Linux CLI Permissions (May not apply)

It’s important to note that, like the desktop version of Globus Connect Personal, you may need to
adjust the permissions Globus has to read/write files on your server.

In order to make a directory available to Globus, you will need to add a line to the file “config-paths”, usually
stored at:

~/.globusonline/lta/config-paths.