A tool for cloning data from cloud storage providers in a configurable way.
Example config file:
base_path: /base_path
clones:
- name: clone_one_folder
paths:
- src: path/to/remote/folder
dest: path/to/local/folder
default: true
- name: clone_files
paths:
- src: files/file.txt
dest: remote_files/file_renamed.txt
- src: files/file2.txt
dest: remote_files/
The config file is expected to be in the current working directory and named cloud_cloner.yaml. This location can be set with --config-path.
A valid rclone config is expected at ~/.rclone. This location can be set with --rclone-config-path.
Then clone with python -m cloud_cloner clone or python -m cloud_cloner clone clone_one_folder.
See python -m cloud_cloner --help for more options.
Metadata
Release files for cloud-cloner 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloud_cloner-0.3.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloud_cloner-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / cloud_cloner-0.3.0.tar.gz
| Download URL | cloud_cloner-0.3.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0872a674c68c9eabb7fba60f605242ed3295f7731d9e887437c327fddb508ddc
|
|
BLAKE2b-256 checksum How to use checksums |
4861621af42fb38901914ecc698b7dfd05a7c43398c8db19c5456b52520fe554
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.5 Linux/5.10.102.1-microsoft-standard-WSL2
|
Release files / cloud_cloner-0.3.0-py3-none-any.whl
| Download URL | cloud_cloner-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1645fc4d75b96f8d125b5fe8ebb1092fe8e7d16d6b232c2e6da44fc4a5544af
|
|
BLAKE2b-256 checksum How to use checksums |
0e3c721bc6dfec66abddc3f3c99fd2f33465ba7658a7cdf23b4bdfbb5a2902d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.5 Linux/5.10.102.1-microsoft-standard-WSL2
|