I have a terminal command that works perfectly but when I try to use it within Shuttle as a "cmd": it gets errors which I can only attribute to improper escaping of characters. I've tried many many different things but can't seem to get it to work in Shuttle.
My working command is:
find / -type f -name "wp-config.php" -exec sed -i "s/\/\/define('WP_MAX_MEMORY_LIMIT/define('WP_MAX_MEMORY_LIMIT/g" {} + && find / -type f -name "wp-config.php" -exec sed -i "s/'256M');/'512M');/g" {} +
Can anyone here give me a hand with this?
I have a terminal command that works perfectly but when I try to use it within Shuttle as a "cmd": it gets errors which I can only attribute to improper escaping of characters. I've tried many many different things but can't seem to get it to work in Shuttle.
My working command is:
find / -type f -name "wp-config.php" -exec sed -i "s/\/\/define('WP_MAX_MEMORY_LIMIT/define('WP_MAX_MEMORY_LIMIT/g" {} + && find / -type f -name "wp-config.php" -exec sed -i "s/'256M');/'512M');/g" {} +
Can anyone help me with this?