Commit c2019497 authored by Olivier's avatar Olivier
Browse files

M7: cleaner import from M3 and M5 in preparation script

parent 1deb566d
......@@ -16,10 +16,14 @@ tar -cvf $inputbackupname --exclude=old $inputfolder
mv -vf $inputbackupname archives/
# Import output of M3 and M5 into input of M7
rsync -avh --delete ../M5_collect_submissions/renamed\ pdfs/ $inputfolder/submissions/
# Import output of M3 into input of M7
# Folder must be cleared manually, because wildcard matching for rsync prevents deletion of surrogates
rm -rvf $inputfolder/solutions/*
rsync -avh --delete ../M3_generate_assignments/script_output/solution* $inputfolder/solutions/
# Import output of M5 into input of M7
rsync -avh --delete ../M6_match_peers/script_output/pdfs/ $inputfolder/submissions/
# Clear output folder
rm -rvf $outputfolder/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment