Skip to content

Instantly share code, notes, and snippets.

@bertbalcaen
Last active January 1, 2016 12:59
Show Gist options
  • Save bertbalcaen/8147752 to your computer and use it in GitHub Desktop.
Save bertbalcaen/8147752 to your computer and use it in GitHub Desktop.
Search and replace in WordPress db with https://github.com/interconnectit/Search-Replace-DB. Had to change this: --- a/srdb.cli.php +++ b/srdb.cli.php @@ -143,7 +143,8 @@ if ( $missing_arg ) { // new args array $args = array( - 'verbose' => true + 'verbose' => true, + 'dry_run' => false, );
php_with_mysql srdb.cli.php -h localhost -u root -n adaptr -p "" -s "www.adapt-r.eu" -r "adaptr.dev"
php_with_mysql srdb.cli.php -h localhost -u root -n adaptr -p "" -s "adapt-r.eu" -r "adaptr.dev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment