google / skicka

Command-line utility for working with Google Drive. Join the mailing list at https://groups.google.com/forum/#!forum/skicka-users.
Apache License 2.0
1.3k stars 118 forks source link

panic: Drive path . doesn't start with base path / prefix! #65

Closed bdklahn closed 9 years ago

bdklahn commented 9 years ago

This happens when I try to download from the gdrive root. $ skicka download / localdir So it makes sense that line 268 in download.go wouldn't get triggered, and will leave the '/' there, but . . .

I wonder if this has anything to do with . . .

commit a85631d3db516779048ea3fc9e1904bc180851e1 Author: Matt Pharr mpharr@google.com Date: Mon Apr 6 17:46:19 2015 -0700

Name the root directory "." rather than “/“.

(Simplifies a bit of code)
mmp commented 9 years ago

Fixed (I think). Please confirm!

bdklahn commented 9 years ago

commit 60d24dcb13e7740f2b1e5fa14a2b70525f4a2fef . . . does appear to have fixed this, for me.

Thanks