#!/bin/bash set -euo pipefail fls=${1:-"hw01.pdf hw02.pdf hw03.pdf hw04.pdf hw05.pdf hw06.pdf hw07.pdf hw08.pdf hw09.pdf"} for f in $fls; do echo -e "uploading $f" done scp $fls k1192855@bastion:public_html/cfl/hws/