Deleteexpirebackupdataaftersevenday

#!/bin/bash
path=/usr/local
find ${path:-/tmp} -name ".tar.gz" -type f -mtime +7 | xargs rm -rf
retal=$?
if [ $retal - eq 0 ];then
echo " the file "
.tar.gz" deleted ."
else
echo " Not found archive files."
fi

成都创新互联公司是专业的龙里网站建设公司,龙里接单;提供成都网站设计、网站制作,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行龙里网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!


网页标题:Deleteexpirebackupdataaftersevenday
文章位置:http://scyanting.com/article/jihhpp.html