Forked from tdgroot/disable_unused_magento2_modules.sh
Last active
May 4, 2022 06:37
-
-
Save erwinromkes/6574f0a7f973be5e5088b634ec1d93f0 to your computer and use it in GitHub Desktop.
Disable unused Magento 2 modules
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 | |
bin/magento module:status | \ | |
grep -E '(Magento_(Adobe|Braintree|Signifyd|Fedex|Marketplace|Authorizenet.*|.*GraphQl.*|.*Analytics)|Yotpo_|Temando_|Amazon_|Dotdigitalgroup_|Vertex_|Klarna_|PayPal_Braintree)' | \ | |
grep -v Magento_GoogleAnalytics | \ | |
xargs bin/magento module:disable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following modules have been disabled: