#!/bin/bash . /3rd/env.env LOG_PATH=/data/mmogrun/publish/log if [ -d "${LOG_PATH}" ]; then cd ${LOG_PATH} echo '*********************start clear log file********************************' rm -rf * rm -rf *.log.* rm -rf *.stat.* rm -rf gp* rm -rf *.error.* echo '*********************end clear log file********************************' fi