#定义初始目录
dir_chushi=/root/test1
#检查备份的目录5天前的文件,如果有则删除
for i in `find $backup_del_dir -type f -mtime +5`;
do
rm -f $i;
done
#定义初始目录
dir_chushi=/root/test1
#检查备份的目录5天前的文件,如果有则删除
for i in `find $backup_del_dir -type f -mtime +5`;
do
rm -f $i;
done
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M