Created
May 22, 2017 04:02
-
-
Save davemac/111efb052a1b32d8eb4d33ad479c95c3 to your computer and use it in GitHub Desktop.
wp-cli update core and plugins across multiple sites
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Updating WP-Core on multiple sites: | |
find /home/*/public_html -name "wp-admin" -execdir /home/wp core update --allow-root \; | |
Updating plugins on multiple sites: | |
find /home/*/public_html -name "wp-admin" -execdir /home/wp plugin update-all --allow-root \; | |
Found here: https://wordpress.stackexchange.com/questions/267592/changing-the-wp-cli-cache-folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment