cws/upload
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 27 Nov 2020 15:03:50 +0000
changeset 374 90b267768329
parent 355 bc3980949af2
child 400 e48ea8300b2d
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
355
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
#!/bin/bash
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
set -euo pipefail
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
bc3980949af2 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"} 
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
for f in $fls; do
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     7
    echo -e "uploading $f"
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     8
done    
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     9
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    10
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    11
scp $fls k1192855@bastion:public_html
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    12
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    13
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    14
#hg commit -m "updated jars"
bc3980949af2 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    15