一,脚本#!/bin/shDIR=/data/ascenlink/logs#T=`find$DRI/*-typef-mtime+365`#rm-rf$TI=$(df-h|grep-vdata2|awk‘/data/{gsub("‘%‘","");print$4}‘)if[$I-gt95];thenmv$DIR/*.tar.gz/data2/backuplogecho"NoenoughFreeDiskSpaceforbackup">>/home/ascenlink/backuperror.l..
分类:
系统相关 时间:
2016-04-17 00:54:11
阅读次数:
333