cws/upload
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 26 Apr 2024 17:35:36 +0100
changeset 486 9c03b5e89a2a
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