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

[ FEATURE ] Support for sub-folders with --create-dir flag. #155

Closed
rdelgadou opened this issue Apr 6, 2021 · 1 comment · Fixed by #185
Closed

[ FEATURE ] Support for sub-folders with --create-dir flag. #155

rdelgadou opened this issue Apr 6, 2021 · 1 comment · Fixed by #185

Comments

@rdelgadou
Copy link

rdelgadou commented Apr 6, 2021

I am trying to use gupload to upload a bunch of files that are organized in folders like this:

1995/01/
1995/02/
...
1995/12/

In a folder on GDrive that should like this (from the GDrive root directory):
Moclim/20THC/1995/01
Moclim/20THC/1995/02
...
Moclim/20THC/1995/02

Moclim is the root folder for gupload (I configured it as so during initial setup).

I run:
gupload 1995/01/* -c "./Moclim/20THC/1995/01"

gupload manages to upload the files, but the files get stored in Google Drive as:
Moclim/01/

I have tried several options but I still do not get what is wrong with my command. Can you point me out in the right direction?

@Akianonymus
Copy link
Collaborator

-c doesn't support sub folder structure right now, only single folder.

As for a workaround, make the folders beforehand on drive and then upload to the common folder.

@Akianonymus Akianonymus changed the title gupload not creating the right folders [ FEATURE ] Support for sub-folders with --create-dir flag. May 5, 2021
Akianonymus added a commit to Akianonymus/google-drive-upload that referenced this issue May 16, 2022
@Akianonymus Akianonymus linked a pull request May 16, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants