wp-cli-package wpcli-sanitize-db
Removes sensitive data from your local database
freshconsulting/wpcli-sanitize-db
Removes sensitive data from your local database
- Wednesday, November 15, 2017
- by freshconsulting
- Repository
- 0 Watchers
- 0 Stars
- 105 Installations
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 4 % Grown
WPCLI Sanitize DB
Removes sensitive data from your local database replacing it with random data., (*1)
WARNING: This will overwrite data in your local database., (*2)
Installation
To install as a wp-cli package:, (*3)
#!bash
wp package install git@bitbucket.org:freshconsulting/wpcli-sanitize-db.git
Or to install manually clone this repo and add the path to the sanitize-db.php
file to the require
section of your ~/.wp-cli/config.yml
(see https://make.wordpress.org/cli/handbook/config/#config-files for details)., (*4)
To use
#!bash
wp sanitize db