Skip to content

Instantly share code, notes, and snippets.

@nmagee
Last active August 24, 2018 15:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmagee/d9f606ff7edfe1710ce81f1eb23ca654 to your computer and use it in GitHub Desktop.
Save nmagee/d9f606ff7edfe1710ce81f1eb23ca654 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Transfers a single file via script.
# Note the optional --encrypt flag.
set -e
globus=`which globus`
srce=c4d80096-7612-11e7-8b5e-22000b9923ef
dest=c4d80096-7612-11e7-8b5e-22000b9923ed
$globus transfer --encrypt $srce:home/mst3k/my-file.txt $dest:nv/vol123/staff/my-new-file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment