billrobo / gdatacopier

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

Download using glob format doesn't work #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create files with names matching and not matching desired filter, e.g. AIMS
2. Try to download only files matching desired filter

What is the expected output? What do you see instead?
1. Only AIMS-test.csv should be downloaded.
2. All files are downloaded.

What version of the product are you using? On what operating system?
1. See end. Cygwin on Windows XP.

Please provide any additional information below.

$ ./gls.py vkslist@gmail.com:/
gls 2.1.1, document list utility. Copyright 2010 Eternity Technologies
Released under the GNU/GPL v3 at <http://gdatacopier.googlecode.com>

Password: 
Logging into Google server as vkslist@gmail.com ... done.
Fetching document list feeds from Google servers for vkslist@gmail.com ...
done.

document       vkslist          Apr 24 2010 09:14 foo-doc                 

spreadsheet    vkslist          Apr 24 2010 08:38 AIMS-test               

1 document(s), 1 spreadsheet(s), 0 presentation(s), 0 pdf(s)

$ ./gcp.py -f csv vkslist@gmail.com:/AIMS* /tmp
gcp 2.1.1, document copy utility. Copyright 2010 Eternity Technologies
Released under the GNU/GPL v3 at <http://gdatacopier.googlecode.com>

Password: 
Logging into Google server as vkslist@gmail.com ... done.
Fetching document list feeds from Google servers for vkslist@gmail.com ...
done.

spreadsheet:0AvdSbQN87AaEdHh3b -d-> /tmp/foo-fee.csv                      
            - OK
spreadsheet:0AvdSbQN87AaEdGcwc -d-> /tmp/AIMS-test.csv                    
            - OK

2 successful, 0 unchanged, 0 service error, 0 failed

---
Also, I'm not able to list using /docs/all. /all does work.

Regards,
Sameer

Original issue reported on code.google.com by vksl...@gmail.com on 24 Apr 2010 at 9:32

GoogleCodeExporter commented 9 years ago
Can you please try 

./gcp.py-f csv vkslist@gmail.com:/all/all/AIMS* /tmp

And tell us what the result is?

Original comment by devraj on 25 Apr 2010 at 3:27

GoogleCodeExporter commented 9 years ago
Worked as expected - trace below. Many thanks!
(It would be helpful if the docs reflected this syntax.)

./gcp.py -f csv vkslist@gmail.com:/all/all/AIMS* /tmp
gcp 2.1.1, document copy utility. Copyright 2010 Eternity Technologies
Released under the GNU/GPL v3 at <http://gdatacopier.googlecode.com>

Password: 
Logging into Google server as vkslist@gmail.com ... done.
Fetching document list feeds from Google servers for vkslist@gmail.com ... done.

spreadsheet:0AvdSbQN87AaEdGcwc -d-> /tmp/AIMS-test.csv                          

  - overwrite (yes/NO): 

0 successful, 0 unchanged, 0 service error, 0 failed

Original comment by vksl...@gmail.com on 25 Apr 2010 at 5:42

GoogleCodeExporter commented 9 years ago
Thanks for confirming this. Will revise documentation to make it precise. Also 
please consider posting things to 
our list before you lodge it as an issue.

Original comment by devraj on 25 Apr 2010 at 6:49