我正在嘗試替換 wordpress sql 文件中的以下字符串:http:\\/\\/firstdomain.com\\/qwerty\\/wp-content\\/uploads\\/2018\\/07\\/section-shape.png到https:\\/\\/seconddomain.com\\/wp-content\\/uploads\\/2019\\/06\\/section-shape.png我嘗試了以下顯然不起作用的命令sed -i "s#'http:\\/\\/firstdomain.com\\/qwerty\\/wp-content\\/uploads\\/2018\\/07\\/section-shape.png'#'https:\\/\\/seconddomain.com\\/wp-content\\/uploads\\/2019\\/06\\/section-shape.png'#g" database.sql有人請幫助理解我錯過的地方。非常感謝。
- 2 回答
- 0 關注
- 125 瀏覽
添加回答
舉報
0/150
提交
取消