1 2 3 4 5 6 7 8 9 10 11
if [ $# -ne 1 ] then echo "please provide exact one argument, problem number" exit 1 fi pushd ./output/$1/ zip ./$1.zip *.in *.out popd mv ./output/$1/$1.zip ./output