cws/upload
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 06 Nov 2023 14:18:26 +0000
changeset 477 a4e1f63157d8
parent 459 d59404a41d5f
child 491 e2ffe8642f55
permissions -rwxr-xr-x
updated

#!/bin/bash
set -euo pipefail

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 resit.pdf"} 

for f in $fls; do
    echo -e "uploading $f"
done    


scp $fls k1192855@bastion:public_html


#hg commit -m "updated jars"

# prevent PDF from being copied
###gs -o output.pdf -dNoOutputFonts -sDEVICE=pdfwrite main_cw01.pdf