Skip to content

create function to upload a whole folder structure #1

Description

@grumpyp

Create a function in main.py to create the folder structure of the given directory and upload all files in it.

There must also be some code implemented in the backups/googledrive.py

so that python3 main.py --upload /Users/foo/Documents/Skydive -google -dir will create the following sturcture of the tree on the remote and upload all files in the directories to the storage.

example

.
├── testmore
│   ├── xz
│   └── zy
│       ├── ab
│       ├── bc
│       └── fg
└── whynot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions