Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 403 Bytes

CMP3103M.md

File metadata and controls

20 lines (10 loc) · 403 Bytes
  1. extract: python extract_gradebook.py

  2. select submissions:

for d in submissions/*; do echo $d; find $d -name "*.py" -type f; read filename; echo "$d@$filename" >> clean-list.txt; done

  1. link main files
cat clean-list.txt | sed 's%submissions/\(.*\)@submissions/\(.*\)$%ln -s "\2" submissions/\1.py%' | grep -v '""' | grep -v ^submissions > commands.sh

bash commands.sh