customization – Applying WP-cli Search & Replace to Static SQL Dump File
I have a wp db dump file inside my site directory. Can someone show me an example of how to use wp-cli search and replace command on the static sql file, not the active db to change my url from “old-example.com” to “new-example.com”
Not quite sure how to apply this to already exported db dump.
$wp search-replace foo bar --export=database.sql