易易的笔记
·
Bash shell源码
1 #!/bin/sh 2 LOG_DIR='/data0/oauth/log/' 3 find ${LOG_DIR} -mtime +3 -name "*.log" -exec rm -rf {} \;