#!/usr/bin/env bash

# Always run from hwsubmit directory (but not form hwsubmit/core) after ensuring
# that hwsubmit has a "web" link (which is not desired in hwsubmit/core).

for file in $*; do
  head=${file%/*}
  tail=${file##*/}
  tailofhead=${head##*/};
  cp $file web/grader/${tailofhead}_$tail
 done
