cws/upload
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 08 Nov 2021 00:17:50 +0000
changeset 400 e48ea8300b2d
parent 355 bc3980949af2
child 427 6e93040e3378
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
400
e48ea8300b2d updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 355
diff changeset
     4
fls=${1:-"core_cw01.pdf core_cw02.pdf core_cw03.pdf main_cw01.pdf main_cw02.pdf main_cw03.pdf main_cw04.pdf main_cw05.pdf"} 
355
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