1

I'm trying to perform this search replace:

wp search-replace 'http://stage.contraindicaciones.net/app/uploads/2015/{08,09}/' 'http://stage.contraindicaciones.net/app/uploads/2016/03/'

But curly brackets {08,09} does not work. I think, because are inside '' and it is rendered as string.

How can I escape the string for this sentence?

Thank you very much

  • Have you tried adding --regex ? – RRikesh Mar 29 '16 at 8:41
  • How did you go with this @aitor? – Tim Malone May 17 '16 at 0:24
  • Sorry, Tim, I forgot to comment my final solution and I don't remember what I did (I think, finally, I did not use the curly braces, repeating sentence for each month). I'm afraid this question will remain unsolved this time. I'm sorry. – aitor May 18 '16 at 5:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.