Commit 933aa2a4 authored by 白秀江's avatar 白秀江

更新log_history_rm_x_days.sh

parent e944fa9f
#!/bin/bash
starttime=`date +'%Y-%m-%d %H:%M:%S'`
logdir=$1
days=$2
days=-$2
old_day=`date +%Y-%m-%d -d"$days days"`
filename=$logdir/*$old_day*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment