Commit c9e40ab8ead3fab76a2fb4fb101384a8d9ce1e97
1 parent
16cf68aee6
Exists in
master
Allow to rm unused files. Can help to build others script for similar task
Showing 1 changed file with 16 additions and 0 deletions Inline Diff
rm-unused-files.sh
File was created | 1 | ||
2 | if [ $# -eq 1 ] | ||
3 | then | ||
4 | EXP_DIR="$1" | ||
5 | else | ||
6 | echo "Need to have one and only one argument. This argument is the exp directory." | ||
7 | exit 1 | ||
8 | fi | ||
9 | |||
10 | for kfold in {1..4} | ||
11 | do | ||
12 | for k in {1..100} | ||
13 | do | ||
14 | rm ${EXP_DIR}/$kfold/$k/clustered_$k.txt | ||
15 | done | ||
16 | done | ||
17 |