1、#删除15天前的数据
find /usr/local/chen/backup/ -mtime +15 -exec rm -f {} \;
2、release=`echo $name | cut -d '-' -f 4| cut -d '.' -f 1`
1、#删除15天前的数据
find /usr/local/chen/backup/ -mtime +15 -exec rm -f {} \;
2、release=`echo $name | cut -d '-' -f 4| cut -d '.' -f 1`