diff --git a/rm-unused-files.sh b/rm-unused-files.sh new file mode 100755 index 0000000..86fe846 --- /dev/null +++ b/rm-unused-files.sh @@ -0,0 +1,16 @@ + +if [ $# -eq 1 ] +then + EXP_DIR="$1" +else + echo "Need to have one and only one argument. This argument is the exp directory." + exit 1 +fi + +for kfold in {1..4} +do + for k in {1..100} + do + rm ${EXP_DIR}/$kfold/$k/clustered_$k.txt + done +done