-
extract:
python extract_gradebook.py
-
select submissions:
for d in submissions/*; do echo $d; find $d -name "*.py" -type f; read filename; echo "$d@$filename" >> clean-list.txt; done
- 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