Search code examples
stringcommand-linequotesdouble-quotes

googlecl Comnmand line: contain double and single quotes in the title


Any googlecl user here?

I am using the latest version of googlecl and poython 2.5.

The title of my post is "Moon" - Official Trailer. What should I do?

The following code wont work:

$ google blogger post --title ""Moon" - Official Trailer" "command line posting"

Thanks a lot!


Solution

  • You should escape the enclosed quotes

    like that google blogger post --title "\"Moon\" - Official Trailer" "command line posting"