linux shell 命令行 wordpress 替换 谷歌字体 fonts.googleapis 一键命令

最近谷歌字体又无法正常打开,打开wordpress 后台又很慢,所以我们只能用命令去替换谷歌字体了。我们这里使用的是奇虎360的公共库,具体命令如下:

sed -i "s/https://fonts.googleapis.com/http://fonts.useso.com/g" `grep -lr "https://fonts.googleapis.com" /目录`
链接到文章: https://vpsum.com/38703.html

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注