2 # Find all submits in the local copy of contestants' home directories
3 # (as created by mo-backup) and copy them to solutions/.
6 echo "Directory name expected"
10 for m in `cd $1 ; echo *` ; do
12 for d in $1/$m/mo??/mo?? ; do
14 if [ $u != mo00 -a -d $d/.submit ] ; then
16 if [ -d solutions/$u ] ; then
19 cp -a $d/.submit solutions/$u