Last active
April 14, 2016 04:05
-
-
Save mavieth/37c0593cb96a10e1aa127d8ff338886a to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
# in ~/Sites directory | |
for D in *; do | |
if [ -d "${D}" ]; then | |
wp --path=$D/ core update | |
wp --path=$D/ theme update --all | |
wp --path=$D/ plugin update --all | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment