#!/bin/bash
# ------------------------------------------------------------------------------
#               download shit
# ------------------------------------------------------------------------------
printf "\n\n%-3s-------------------------------------------"
printf "\n%-4sI will clean your projects for you, baby."
printf "\n%-3s-------------------------------------------\n\n\n"
# ------------------------------------------------------------------------------
cd ../
ls
# ------------------------------------------------------------------------------
echo what project?
read project_
# ------------------------------------------------------------------------------
ls $project_
# ------------------------------------------------------------------------------
echo number of first subproject?
read sub_
# ------------------------------------------------------------------------------
echo number of last subproject?
read sub__
# ------------------------------------------------------------------------------
echo gonna delete me some. are you sure you want to continue? \(y or n\)
read cont_
if [ "$cont_" != "y" ]; then
 printf "\n   ok baby. have fun with your cold feet.\n\n"
 exit 1
fi
# ------------------------------------------------------------------------------
name_=${project_:0:1}
cd $project_/
# ------------------------------------------------------------------------------
for ((i_=$sub_;i_<=$sub__;i_++))
do
 rm -r $name_$i_
 echo $name_$i_
done
# ------------------------------------------------------------------------------




