2 # Grab all submits from the submit server and copy them to solutions/.
4 [ -n "$1" ] || { echo "Usage: mo-grab-remote <tasks>" ; exit 1 ; }
5 [ -f cf/mop ] || { echo "Missing config file, check cwd." ; exit 1 ; }
9 rsync -a --delete mo-submit@mo100:solutions/ submits
10 for user in `bin/mo-get-users` ; do
12 mkdir -p solutions/$user
14 rm -rf solutions/$user/$t
18 cp -a $D solutions/$user/$t