Open main menu

CDOT Wiki β

Changes

Grab Student Work

8 bytes added, 09:59, 22 June 2011
no edit summary
cp /home/$x$z/.tuxpaint/saved/* /home/teacher/Desktop/churchLab/$dateStamp/$timeStamp 2> /dev/null
fi
if [ "$y" = "wordProcessing" ]
then
cp /home/$x$z/Documents/*.pdf /home/teacher/Desktop/churchLab/$dateStamp/$timeStamp 2> /dev/null
fi
if [ "$y" = "slideShows" ]
then
cp /home/$x$z/Documents/*.ppt /home/teacher/Desktop/churchLab/$dateStamp/$timeStamp 2> /dev/null
fi
done
chown teacher:teacher ./*
if zenity --question --text "Do you want to delete all <b>$y</b> that you \"grabbed\"?"
then
rm /home/$x$z/.tuxpaint/saved/* 2> /dev/null
fi
if [ "$y" = "wordProcessing" ]
then
rm /home/$x$z/Documents/*.pdf 2> /dev/null
fi
if [ "$y" = "slideShows" ]
then
rm /home/$x$z/Documents/*.ppt 2> /dev/null
fi
done
fi
13,420
edits