ACueva / googlecl

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

No iteration for multiple upload in docs #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up multiple valid .csv files for upload in docs 
2. Upload them with ' google docs upload ./* '

What is the expected output? What do you see instead?
Multiple files uploaded, instead just one file was uploaded multiple times.

What version of the product are you using? On what operating system?
0.9.5 - Arch Linux 32bits

Please provide any additional information below.
Workaround: iterate through folder and upload each file separetaly

Original issue reported on code.google.com by marquinh...@gmail.com on 19 Jun 2010 at 4:52

GoogleCodeExporter commented 9 years ago
To upload multiple files:
$ find -maxdepth 1 -type f -exec google docs upload {} \;

Original comment by marquinh...@gmail.com on 19 Jun 2010 at 4:55

GoogleCodeExporter commented 9 years ago
Your documents are uploaded correctly, they just have the same title.
Attached fix should solve the issue.

Original comment by bart...@gmail.com on 21 Jun 2010 at 8:49

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r299.

Original comment by tom.h.mi...@gmail.com on 24 Jun 2010 at 10:53

GoogleCodeExporter commented 9 years ago
FYI, bartosh's patch should work just fine for users of 0.9.7. The revision 
that closed this was fairly substantial, so I'm not including the diff as a 
patch.

Original comment by tom.h.mi...@gmail.com on 24 Jun 2010 at 10:55

GoogleCodeExporter commented 9 years ago
Issue 174 has been merged into this issue.

Original comment by tom.h.mi...@gmail.com on 25 Jun 2010 at 8:09

GoogleCodeExporter commented 9 years ago
Issue 164 has been merged into this issue.

Original comment by tom.h.mi...@gmail.com on 25 Jun 2010 at 8:12