Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support of Google Drive folder #7

Merged
merged 1 commit into from
Jun 12, 2016
Merged

Adding support of Google Drive folder #7

merged 1 commit into from
Jun 12, 2016

Conversation

windhamwong
Copy link
Contributor

The script now supports Google Drive folder!
It will create a folder with name "packtpub" or specified in the config file.
The folder is also set to be shared.
The config line is printed on the screen to prompt user to add it back into the config file.
All the files are then uploaded to this folder.

a minor fix of message

@niqdev niqdev merged commit c52959c into niqdev:master Jun 12, 2016
@shaneog
Copy link

shaneog commented Mar 8, 2017

How would I use this to refer to sub-folders, e.g. Books/packtpub ?

@niqdev
Copy link
Owner

niqdev commented Mar 8, 2017

Hi @shaneog, what happen if you configure

googledrive.default_folder=Books/packtpub
googledrive.upload_folder=FOLDER_ID

You may need to create the root folder in advance

@shaneog
Copy link

shaneog commented Mar 8, 2017

Sadly it created a folder named "Books/packtpub" and not a folder named "packpub" inside the pre-existing folder "Books".

@juzim
Copy link
Contributor

juzim commented Mar 8, 2017 via email

@niqdev
Copy link
Owner

niqdev commented Mar 8, 2017

I think is a bit tricky, I mean you need to have the id of the parent folder
See this

@juzim
Copy link
Contributor

juzim commented Mar 8, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants