Bash Script to Mirror WordPress Multisite Installation into a Sandbox

Edin Beslagic, one of our followers on Twitter, alerted us a to a handy bash script that he’s been using on a daily basis to mirror a WordPress Multisite installation into a sandbox environment. The script automatically alters and rewrites wp-config.php and database entries to make sure URLs work the right way.

Essentially, it clones into

As always, make sure you have backups before trying it out. Read more about the script and grab you copy from the original article: Bash script to mirror WordPress MU installation into a sandbox