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" /目录`

评论

《 “linux shell 命令行 wordpress 替换 谷歌字体 fonts.googleapis 一键命令” 》 有 4 条评论

  1. […] 命令,linux shell 命令行 wordpress 替换 谷歌字体 fonts.googleapis 一键命令. […]

  2. […] 命令,linux shell 命令行 wordpress 替换 谷歌字体 fonts.googleapis 一键命令. […]

  3. […] 可以使用批量替换方法,linux shell 命令行 批量替换 一键命令: […]

  4. […] 可以使用批量替换方法,linux shell 命令行 wordpress 替换 谷歌字体 fonts.googleapis 一键命令: […]

回复 Discuz MYSQL 数据库 大文件 GBK编码转UTF-8 Discuz! X3.2 X3.3 升级到 Discuz! X 3.4版本 – 老季博客 取消回复

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