cws/upload
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 15 Sep 2023 10:49:33 +0100
changeset 918 53e7da9f372a
parent 901 33cff35bdc1a
child 919 53f08d873e09
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
901
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
#!/bin/bash
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
set -euo pipefail
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
fls=${1:-"cw01.pdf cw02.pdf cw03.pdf cw04.pdf cw05.pdf"} 
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
for f in $fls; do
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     7
    echo -e "uploading $f"
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     8
done    
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     9
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    10
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    11
scp $fls k1192855@bastion:public_html/cfl/cws/
33cff35bdc1a updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    12