#!/bin/bash if test $NEWMETA then for Dir in $(find -L $NEWMETA/* -type d -not -path $NEWMETA/ParamInfo* ) do rm ${Dir}/* done rm $AMDA_SPASE_INTERFACE/SPASE/* else echo "NEWMETA env var is not defined - source env.sh" fi