Category: Quick Tips
Simple CLI deploy commands for M2
A few cli commands helping deploy new code on a magento 2 environment
Convert a file to UTF-8 charset
A script to convert a file to utf-8 charset with autodetect source file encoding. It also skips the file if it’s newer than 1 minute (just in case ). The command chardetect is required.
Magento maintenance mode
Enable maintenance mode and allow IPs
How to resize magento media folder for dev/stage environments
Useful linux commands to reduce media folder size in magento dev environments.