Tool for cloning data from cloud storage services in a configurable way
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloud_cloner-0.3.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for cloud_cloner-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1645fc4d75b96f8d125b5fe8ebb1092fe8e7d16d6b232c2e6da44fc4a5544af |
|
MD5 | 5b534ea2bd7dbb056f58dd1cdcc4fbd0 |
|
BLAKE2b-256 | 0e3c721bc6dfec66abddc3f3c99fd2f33465ba7658a7cdf23b4bdfbb5a2902d3 |