Blame view

rm-unused-files.sh 261 Bytes
c9e40ab8e   Mathias Quillot   Allow to rm unuse...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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