interconnectit / Search-Replace-DB

This script was made to aid the process of migrating PHP and MySQL based websites. Works with most common CMSes.
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
GNU General Public License v3.0
3.99k stars 851 forks source link

Enhanced --tables and --exclude-tables #273

Closed cutesquirrel closed 4 years ago

cutesquirrel commented 5 years ago

RegExps can be used to include or exclude tables.

I take the full tables list and first only include tables matching the --tables selector and after, exclude the tables matching the --exclude-tables selector. It gives you an infinity of possibilities !

jack-interconnectit commented 4 years ago

Hi @cutesquirrel Thanks for using Search Replace, this feature has already been added to 4.0. Thanks the PR though, certainly a useful feature