shell根据时间删除文件螃蟹就是横着走4年前更新关注21 location="/root/sqlbak/" find $location -mtime +30 -type f |xargs rm -f 参考: Shell定时删除指定时间之前的文件 THE END日积月累 收藏