1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash if test $NEWMETA then for Dir in $(find -L $NEWMETA/ParamInfo -type d) do rm ${Dir}/* done else echo "NEWMETA env var is not defined - source env.sh" fi