I’ve a wp db dump file inside my website listing. Can somebody present me an instance of find out how to use wp-cli search and change command on the static sql file, not the lively db to alter my url from "old-example.com" to "new-example.com"
/var/www/html/wp-site.com/dumps/oldexample.com/dumpeddb.sql
/var/www/html/wp-site.com/dumps/newexample.com/ready-for-import.sql
Not fairly positive find out how to apply this to already exported db dump.
$wp search-replace foo bar --export=database.sql