2016-04-08 16:59:20 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ "$#" -ne 1 ]; then
|
|
|
|
echo "batch directory must be specified"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
DIRNAME=${1}
|
|
|
|
|
|
|
|
for BATCH in $(find ${DIRNAME} -name "*.json" -type f); do
|
|
|
|
echo ${BATCH} $PWD
|
|
|
|
./reset-send-batch.sh ${BATCH}
|
2016-04-08 22:11:12 +03:00
|
|
|
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
2016-04-08 16:59:20 +03:00
|
|
|
done
|