Skip to content

Escaping help? #284

@JayHoltslander

Description

@JayHoltslander

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions