cleanNewMetaParamInfo
405 Bytes
#!/bin/bash
SCRIPT=$(readlink -f "$0")
export UPDATEDIR=$(dirname "$SCRIPT")
. $UPDATEDIR/updateEnv.sh
if [ -z ${NEWMETA} ]
then
echo "[ERROR] check if NEWMETA env variable is defined"
exit 1
fi
if [ -d "$NEWMETA" ]
then
for Dir in $(find -L $NEWMETA/ParamInfo -type d)
do
rm -f ${Dir}/*
done
else
echo "[ERROR] NEWMETA env var is not defined"
fi