Metadata-Version: 2.1
Name: cloud-cloner
Version: 0.1.2
Summary: Tool for cloning data from cloud storage services in a configurable way
License: MIT
Author: Omegastick
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: dacite (>=1.6.0,<2.0.0)
Requires-Dist: python-rclone (>=0.0.2,<0.0.3)
Requires-Dist: pyyaml (>=6.0,<7.0)
Requires-Dist: typer[all] (>=0.7.0,<0.8.0)
Description-Content-Type: text/markdown

A tool for cloning data from cloud storage providers in a configurable way.

Example config file:
```yaml
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.

