摘要: #!/bin/bash #Backup Nginx logs Name=`hostname` Log_Path="/logs/nginx" Backup_Path="/data/Backup_Logs/nginx" D=`date -d "yesterday" "+%F"` test -d $Backup_Path/$D || mkdir -p $Backup_Path/$D if [ -... 阅读全文
posted @ 2018-04-22 20:24 梦轻尘 阅读(198) 评论(0) 推荐(0) 编辑