Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escaping help? #284

Open
JayHoltslander opened this issue Jul 25, 2022 · 0 comments
Open

Escaping help? #284

JayHoltslander opened this issue Jul 25, 2022 · 0 comments

Comments

@JayHoltslander
Copy link

JayHoltslander commented Jul 25, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant