added a basic timer before deletion starts so one can terminate the script
This commit is contained in:
parent
27e11a8648
commit
937d875ed1
14
removegit.sh
14
removegit.sh
@ -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..."
|
echo "Removing git..."
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user