Created
February 15, 2020 10:18
-
-
Save lsemenenko/c07fc04cafb236127971b9d2cf5d279b to your computer and use it in GitHub Desktop.
Interate through plugin folders, rename, and pause; used for troubleshooting plugin issues
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
for i in $(find ./wp-content/plugins -maxdepth 1 ! -path . -type d) | |
do | |
sudo mv ${i} ${i}.old | |
echo "Disabled ${i}" | |
read -p "Press enter to continue" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment