批量替换文件中的字符串
在linux里使用find
和sed
替换内容。
find . -type f -name index.html|xargs sed -i 's/https:\/\/imgkr\.cn-bj\.ufileos\.com\/b8dd3f79-f3a5-4516-8a2e-9d073e246575\.png/https:\/\/www.example.net\/Public\/App\/images\/sm-logo-global.png/'
在linux里使用find
和sed
替换内容。
find . -type f -name index.html|xargs sed -i 's/https:\/\/imgkr\.cn-bj\.ufileos\.com\/b8dd3f79-f3a5-4516-8a2e-9d073e246575\.png/https:\/\/www.example.net\/Public\/App\/images\/sm-logo-global.png/'
© 著作权归作者所有