Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
Naman Sood 2023-01-16 12:32:25 -05:00
parent 3e2028838a
commit bd98b8a308
10 changed files with 48 additions and 14 deletions

View file

@ -1,3 +1,5 @@
#!/bin/sh
#!/usr/bin/env bash
source ~/bin/studentvars
scp $1 $UW_SERVER:$2
allargsexceptlast=${@:1:$(($#-1))}
last=${!#}
scp $allargsexceptlast $UW_SERVER:$last