added a basic timer before deletion starts so one can terminate the script

This commit is contained in:
Pavak Paul 2022-04-21 02:09:19 +05:30
parent 27e11a8648
commit 937d875ed1

View File

@ -1,4 +1,16 @@
echo "Removing everything related to the starter git repo"
echo "Removing everything related to the starter git repo in 5 seconds"
echo "You can press Ctrl+C to terminate this script before the deletion starts"
sleep 1
echo "Removing git repo in 4"
sleep 1
echo "Removing git repo in 3"
sleep 1
echo "Removing git repo in 2"
sleep 1
echo "Removing git repo in 1"
sleep 1
echo "Removing git repo now!"
echo "Removing git..."
rm -rf .git