cws/upload
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 25 Jan 2021 00:21:00 +0000
changeset 389 7e084cfbaac9
parent 355 e4d779587d3f
child 400 bf47dbac07f8
permissions -rwxr-xr-x
updated marking 2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
355
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
#!/bin/bash
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
set -euo pipefail
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
fls=${1:-"pre_cw01.pdf pre_cw02.pdf pre_cw03.pdf main_cw01.pdf main_cw02.pdf main_cw03.pdf main_cw04.pdf main_cw05.pdf"} 
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
for f in $fls; do
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     7
    echo -e "uploading $f"
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     8
done    
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     9
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    10
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    11
scp $fls k1192855@bastion:public_html
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    12
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    13
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    14
#hg commit -m "updated jars"
e4d779587d3f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    15