928
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
1 |
#!/bin/bash
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
2 |
set -euo pipefail
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
3 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
4 |
fls=${1:-"hw01.pdf
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
5 |
hw02.pdf
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
6 |
hw03.pdf
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
7 |
hw04.pdf
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
8 |
hw05.pdf
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
9 |
hw06.pdf
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
10 |
hw07.pdf
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
11 |
hw08.pdf
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
12 |
hw09.pdf"}
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
13 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
14 |
for f in $fls; do
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
15 |
echo -e "uploading $f"
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
16 |
done
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
17 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
18 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
19 |
scp $fls k1192855@bastion:public_html/cfl/hws/
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
20 |
|