Created
November 24, 2018 16:32
-
-
Save StephenBrough/d847aff6ca9d1c743db208fa01b0c12f to your computer and use it in GitHub Desktop.
Upload dir to CS3060 server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upload_to_cs3060() { | |
| LOCAL_DIR=$1 # Assignment directory on your local machine | |
| if [ $# -lt 2 ] | |
| then | |
| REMOTE_DIR="$LOCAL_DIR" | |
| else | |
| REMOTE_DIR=$2 | |
| fi | |
| USER="Z_<Your UVU ID here, or whatever>" | |
| SERVER_IP="cs3060.tc.uvu.edu" | |
| scp -r $LOCAL_DIR $USER@$SERVER_IP:$REMOTE_DIR | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment