#!/bin/bashdate=$(date+%Y-%m-%d)[-d/data/logs/weblogs/clientlog/linshi]||mkdir/data/logs/weblogs/clientlog/linshicd/data/logs/weblogs/clientlog/foriin`seq17`don=$(date-d-${i}day+%Y-%m-%d)[-fclienterror_${n}.log]&&mvclienterror_${n}.loglinshidonecdlinshi[-f*.log]&&tarzcfdx1sock2_clienterror_${date}.tar.gz*.log&&rm-rf*.logfind/data/logs/weblogs/clientlog/linshi/-typef-atime+30-execrm{}\;