#! /usr/bin/env bash

# Run from course directory.
# Will need to enter passphrase twice
# Was shannon where now boole

graderpid=`sed -n 's+grader \(.*\) \(.*\)+\2+p' grades.access`
rsync -avzu hwsubmit/core/* boole.cs.luc.edu:/homes/users/cs/faculty/rig/$graderpid/core
ssh rig@boole.cs.luc.edu chmod go+w $graderpid/core/*/.graded
