删除
http://blog.csdn.net/u011579204/article/details/46709929
#! /bin/bash
dir=/webserver/test/(等号之间不能有空格)
time=”$(date +”%Y%m%d$H”)”
find $dir -name “ybjc_*.log” -type f -mtime -1 -exec rm -rf {} /;
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/2020.html