# Clear each repository # replace the protocol path=$(pwd) # clean generated directory result=$(ls $path/generated|head -1) if [ "$result" != "" ]; then rm $path/generated/* fi result=$(ls $path/scheduled|head -1) if [ "$result" != "" ]; then rm $path/scheduled/* fi for i in 20 30 40 50 60 70 80 ; do result=$(ls $path/data_coef${i}|head -1) if [ "$result" != "" ]; then rm $path/data_coef${i}/* fi result=$(ls $path/data_coef${i}|head -1) if [ "$result" != "" ]; then rm $path/data_coef${i}/* fi result=$(ls $path/data_coef${i}|head -1) if [ "$result" != "" ]; then rm $path/data_coef${i}/* fi done