Shell script to cleanup Magento2 cached files in local instance, executable in linux terminal
Copy the file and paste it in Magento root folder.
To execute, open terminal in Magento root folder, run : sudo sh cleanup.sh
- -u : Setup Upgrade
- -f : Magento Cache Flush
- -d : Static Content Deploy