Define multiple tasks using rclone.
Project description
RClone Manager
Define multiple tasks using rclone to sync files from one cloud storage to another.
Documentation: https://rclone-manager.readthedocs.io/en/latest/
Features
- Define multiple tasks
- Define timeouts for each task
- Callbacks to run scripts after tasks complete
- Run tasks in parallel
- Save logs to files
Installation
Requirements
Install from PyPI
pip install rclone-manager
Example Usage
Move files from Local to Google Drive
from rclone_manager import RClone
src = './test_folder'
dst = 'gdrive:rclone-test-folder'
RClone(src, dst).move().run()
print('Done')
Copy files but terminate whenever you want
from rclone_manager.rclone import RClone
src = './test_folder'
dst = 'gdrive:rclone-test-folder'
rclone = RClone(src, dst).copy()
rclone.run(wait=False)
# Do something else
rclone.terminate()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rclone-manager-1.0.1.tar.gz
(8.1 kB
view details)
File details
Details for the file rclone-manager-1.0.1.tar.gz.
File metadata
- Download URL: rclone-manager-1.0.1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce5eecb274491dc9f2e924270afccb86e3005ea8f46fe0fdacb5a69194b16b65
|
|
| MD5 |
d1cd9814bb4c2ac5a15fcd8a7da83ef5
|
|
| BLAKE2b-256 |
0f1e7142d254f1f662251a4d83ca627b39efb09dae9b66b691d3b561a22d06c1
|