I've got over 25 different WP sites on the same server and would like to expedite upgrades to current WP versions. If I could script
1) for each domain, de-activate all plugins
2) for each domain, delete old WP, copy new WP
then I'd use a browser to run the upgrade script for each domain, which takes a few moments, each
3) for each domain, re-activate plugins
Is there a way from a Linux command line to de-activate and/or re-activate all the plugins in a WP installation? I assume that this must be via some kind of MySQL command line, no?