CLI Menu

Command Line Interface (CLI)CLI QuickStart GuideCommand Line Interface (CLI) ExamplesUsing the CLI with High Assurance Resources
Reference
CLI ChangelogGLOBUS BOOKMARK CREATEGLOBUS BOOKMARK DELETEGLOBUS BOOKMARK LISTGLOBUS BOOKMARK RENAMEGLOBUS BOOKMARK SHOWGLOBUS DELETEGLOBUS ENDPOINT ACTIVATEGLOBUS ENDPOINT CREATEGLOBUS ENDPOINT DEACTIVATEGLOBUS ENDPOINT DELETEGLOBUS ENDPOINT IS-ACTIVATEDGLOBUS ENDPOINT LOCAL-IDGLOBUS ENDPOINT MY-SHARED-ENDPOINT-LISTGLOBUS ENDPOINT PERMISSION CREATEGLOBUS ENDPOINT PERMISSION DELETEGLOBUS ENDPOINT PERMISSION LISTGLOBUS ENDPOINT PERMISSION SHOWGLOBUS ENDPOINT PERMISSION UPDATEGLOBUS ENDPOINT ROLE CREATEGLOBUS ENDPOINT ROLE DELETEGLOBUS ENDPOINT ROLE LISTGLOBUS ENDPOINT ROLE SHOWGLOBUS ENDPOINT SEARCHGLOBUS ENDPOINT SERVER ADDGLOBUS ENDPOINT SERVER DELETEGLOBUS ENDPOINT SERVER LISTGLOBUS ENDPOINT SERVER SHOWGLOBUS ENDPOINT SERVER UPDATEGLOBUS ENDPOINT SET-SUBSCRIPTION-IDGLOBUS ENDPOINT SHOWGLOBUS ENDPOINT UPDATEGLOBUS GET-IDENTITIESGLOBUS LIST-COMMANDSGLOBUS LOGINGLOBUS LOGOUTGLOBUS LSGLOBUS MKDIRGLOBUS RENAMEGLOBUS RMGLOBUS SESSION CONSENTGLOBUS SESSION SHOWGLOBUS SESSION UPDATEGLOBUS TASK CANCELGLOBUS TASK EVENT-LISTGLOBUS TASK GENERATE-SUBMISSION-IDGLOBUS TASK LISTGLOBUS TASK PAUSE-INFOGLOBUS TASK SHOWGLOBUS TASK UPDATEGLOBUS TASK WAITGLOBUS TRANSFERGLOBUS UPDATEGLOBUS VERSIONGLOBUS WHOAMI
Skip to main content
Globus Docs
  • APIs
    • Auth
    • Transfer
    • Groups
    • Search
    • Python SDK
    • Helper Pages
  • How To
  • Guides
    • Globus Connect Server Installation Guides
    • High Assurance Collections for Protected Data
    • Management Console Guide
    • Command Line Interface
    • Premium Storage Connectors
    • Security
    • Modern Research Data Portal
  • Support
    • FAQs
    • Mailing Lists
    • Contact Us
    • Check Support Tickets
  1. Home
  2. Command Line Interface (CLI)
  3. Reference

GLOBUS ENDPOINT LOCAL-ID

NAME

globus endpoint local-id - Display UUID of locally installed endpoint

SYNOPSIS

globus endpoint local-id [OPTIONS]

DESCRIPTION

Look for data referring to a local installation of Globus Connect Personal software and display the associated endpoint ID.

This operates by looking for Globus Connect Personal data in the current user’s home directory.

OPTIONS

--personal

Use local Globus Connect Personal endpoint (default)

-v, --verbose

Control level of output

-h, --help

Show this message and exit.

EXAMPLES

Do a Globus ls command on the current local endpoint.

$ globus ls "$(globus endpoint local-id)"':/~/'

On the assumption that the default directory for Globus Connect Personal is the user’s homedir, list files in the current working directory via Globus:

#!/bin/bash
# NOTE: this script only works in subdirs of $HOME

if [[ $PWD/ != $HOME/* ]]; then
  echo "Only works in homedir" >&2
  exit 1
fi

# get the CWD as a path relative to the homedir
dir_to_ls=${PWD/#$HOME/'~'}

ep_id="$(globus endpoint local-id)"

globus ls "${ep_id}:/${dir_to_ls}"

EXIT STATUS

0 on success.

1 if an error occurred.

2 if the command was used improperly.

Command Line Interface (CLI)CLI QuickStart GuideCommand Line Interface (CLI) ExamplesUsing the CLI with High Assurance Resources
Reference
CLI ChangelogGLOBUS BOOKMARK CREATEGLOBUS BOOKMARK DELETEGLOBUS BOOKMARK LISTGLOBUS BOOKMARK RENAMEGLOBUS BOOKMARK SHOWGLOBUS DELETEGLOBUS ENDPOINT ACTIVATEGLOBUS ENDPOINT CREATEGLOBUS ENDPOINT DEACTIVATEGLOBUS ENDPOINT DELETEGLOBUS ENDPOINT IS-ACTIVATEDGLOBUS ENDPOINT LOCAL-IDGLOBUS ENDPOINT MY-SHARED-ENDPOINT-LISTGLOBUS ENDPOINT PERMISSION CREATEGLOBUS ENDPOINT PERMISSION DELETEGLOBUS ENDPOINT PERMISSION LISTGLOBUS ENDPOINT PERMISSION SHOWGLOBUS ENDPOINT PERMISSION UPDATEGLOBUS ENDPOINT ROLE CREATEGLOBUS ENDPOINT ROLE DELETEGLOBUS ENDPOINT ROLE LISTGLOBUS ENDPOINT ROLE SHOWGLOBUS ENDPOINT SEARCHGLOBUS ENDPOINT SERVER ADDGLOBUS ENDPOINT SERVER DELETEGLOBUS ENDPOINT SERVER LISTGLOBUS ENDPOINT SERVER SHOWGLOBUS ENDPOINT SERVER UPDATEGLOBUS ENDPOINT SET-SUBSCRIPTION-IDGLOBUS ENDPOINT SHOWGLOBUS ENDPOINT UPDATEGLOBUS GET-IDENTITIESGLOBUS LIST-COMMANDSGLOBUS LOGINGLOBUS LOGOUTGLOBUS LSGLOBUS MKDIRGLOBUS RENAMEGLOBUS RMGLOBUS SESSION CONSENTGLOBUS SESSION SHOWGLOBUS SESSION UPDATEGLOBUS TASK CANCELGLOBUS TASK EVENT-LISTGLOBUS TASK GENERATE-SUBMISSION-IDGLOBUS TASK LISTGLOBUS TASK PAUSE-INFOGLOBUS TASK SHOWGLOBUS TASK UPDATEGLOBUS TASK WAITGLOBUS TRANSFERGLOBUS UPDATEGLOBUS VERSIONGLOBUS WHOAMI
© 2010- The University of Chicago Legal Accessibility