Watch N Learn
About
Watch N Learn is an educational platform for students.
Watch N Learn incentivizes students to learn with fun activities and rewards.
Watch N Learn offers a simple CMS (content management system) for teachers.
fetch.sh
'fetch.sh' is a script that fetches this repository.
temporary_directory=_$RANDOM$RANDOM
while [ -d $temporary_directory ]
do
temporary_directory=_$RANDOM$RANDOM
done
echo
echo "TASK: 'https://github.com/gmbrianlaw/watch-n-learn/tree/main' -> 'watch-n-learn'"
if [ -d watch-n-learn ]
then
rm -fr watch-n-learn
echo
echo "Removed 'watch-n-learn' directory (recreating)"
fi
mkdir $temporary_directory
echo
curl https://codeload.github.com/gmbrianlaw/watch-n-learn/legacy.zip/main \
--output $temporary_directory/watch-n-learn.zip
ditto -kx $temporary_directory/watch-n-learn.zip $temporary_directory
rm $temporary_directory/watch-n-learn.zip
mv $temporary_directory/* watch-n-learn
rm -r $temporary_directory
echo
echo "TASK (complete): 'https://github.com/gmbrianlaw/watch-n-learn/tree/main' -> 'watch-n-learn'"
unset temporary_directory
echo