File size: 376 Bytes
84b19af |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#!/usr/bin/env bash
curPath=$(pwd)
for dir in $(ls); do
if [ -d ${curPath}/${dir} ]; then
eval "unzip dummy_data_copy.zip"
eval "mv dummy_data/cfq/splits/data.json dummy_data/cfq/splits/${dir}.json"
eval "zip -r dummy_data.zip dummy_data"
eval "cp dummy_data.zip ${curPath}/${dir}/1.0.1/dummy_data.zip"
eval "rm dummy_data.zip"
eval "rm -r dummy_data"
fi
done
|