seanfrazier / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Unable to use a dics get with a file containing parenthesis in the name #504

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I use docs list to get the file names for a particular day, generated by 
another party for me
2. Looping through each, I issue a docs get with the file name.  No response 
returned.  No output file populated on my system.
3. File name that fails is "GAT_teamquest_com_Documents_12_10_2012 
11:24:28_Docs not deleted(1 of 2)".  But if I rename the file to 
"GAT_teamquest_com_Documents_12_10_2012 11:24:28_Docs not deleted_1 of 2" it 
downloads fine.  I am assuming the "()" are the problem.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?

I am using python 2.5 and gdata 2.14.

Please provide any additional information below.

Original issue reported on code.google.com by randal.s...@teamquest.com on 10 Dec 2012 at 10:26

GoogleCodeExporter commented 9 years ago
Hi Randal,
the problem is with shell special characters. I replicated the bug, however it 
seems like there is no problem with googlecl. The real problem is with shell 
which treats the `(`, `)` characters in a special way. This works for me:

`google docs get --title "GAT_teamquest_com_Documents_12_10_2012 11:24:28_Docs 
not deleted\(1 of 2\)"`

Original comment by szy...@endpoint.com on 27 Dec 2012 at 10:47