Skip to content

Command line tool to replace serialized strings in WordPress database dump files

License

Notifications You must be signed in to change notification settings

andreekeberg/wp-search-replace-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP Search Replace CLI

Latest Stable Version Total Downloads License

Command line tool to replace serialized strings in WordPress database dump files.

Requirements

  • PHP 4.0.0 or higher

Installation

composer global require andreekeberg/wp-search-replace-cli

Usage

wp-search-replace [options]

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

Contributing

Read the contribution guidelines.

Changelog

Refer to the changelog for a full history of the project.

License

WP Search Replace CLI is licensed under the MIT license.