Command line tool to replace serialized strings in WordPress database dump files.
- PHP 4.0.0 or higher
composer global require andreekeberg/wp-search-replace-cli
wp-search-replace [options]
Option | Description | Default |
---|---|---|
--input, -i | Path to input file | |
--search, -s | The value being searched for | |
--replace, -r | Replacement string | |
--output, -o | Path to output file (optional) | STDOUT |
Read the contribution guidelines.
Refer to the changelog for a full history of the project.
WP Search Replace CLI is licensed under the MIT license.