Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

File names with '/' are split into directories when pulled #36

Open
yalon opened this issue Nov 26, 2014 · 1 comment
Open

File names with '/' are split into directories when pulled #36

yalon opened this issue Nov 26, 2014 · 1 comment

Comments

@yalon
Copy link

yalon commented Nov 26, 2014

This is true for Linux:

If we have a Google Drive file called https://a/b/c/boardingpass.pdf when we pull we get a directory called https:, then a directory called a, then b, etc. till we get a boardingpass.pdf file, and not a file called https://a/b/c/boardingpass.pdf.

It might seem like an obscure issue, but Google's own "save to drive" and all the extensions that save to drive might create such a file name.

@odeke-em
Copy link
Contributor

In deed it is an issue even on other *NIX derived OS-es. Previously the escape route was just doing a mkdir -p equivalent since you cannot ordinarily create a file with the standard path separators in its path. I have a working prototype to address this and will get it up in a bit.

mdp pushed a commit to mdp/drive that referenced this issue Feb 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants