admin管理员组文章数量:1024933
I'm runnning this command;
sudo -u www-data wp search-replace www.siteurl www.newsiteurl --recurse-objects --skip-columns=guid --skip-tables=wp_users
From command line: 3.456 replacements From bash-script: 0 replacements
the line in the bash script:
wp search-replace ${OLD_URL} ${NEW_URL} --recurse-objects --skip-columns=guid --skip-tables=wp_users
I've tried trimming the variables, I've tried ${VAR}
and $VAR
, and even --path=/path/to/site
The output table with details about replacements comes out on both bash and command-line versions. 0 replacements for the bash-script and 3.456 replacements from command line.
I'm runnning this command;
sudo -u www-data wp search-replace www.siteurl www.newsiteurl --recurse-objects --skip-columns=guid --skip-tables=wp_users
From command line: 3.456 replacements From bash-script: 0 replacements
the line in the bash script:
wp search-replace ${OLD_URL} ${NEW_URL} --recurse-objects --skip-columns=guid --skip-tables=wp_users
I've tried trimming the variables, I've tried ${VAR}
and $VAR
, and even --path=/path/to/site
The output table with details about replacements comes out on both bash and command-line versions. 0 replacements for the bash-script and 3.456 replacements from command line.
本文标签: wp clibash script wpcli searchreplace 0 replacementsbut commandline 3000
版权声明:本文标题:wp cli - bash script wp-cli search-replace 0 replacements, but command-line 3000+ 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745499212a2153310.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论