linux-sh-cdn资源预热url Posted on 2020-03-04 Edited on 2023-05-21 123456#!/usr/bin/bashdirpath="/data/docker/nginx/html/"find $dirpath -size +100k -mtime -40 > URL.txtsed -i "s#/data/docker/nginx/html#http://slzj-cdn.gw97.com#g" URL.txtcount=$(cat URL.txt|wc -l)echo "$count records"