Skip to main content

Define multiple tasks using rclone

Project description

RClone Manager

Define multiple tasks using rclone to sync files from one cloud storage to another.

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


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-0.4.3.tar.gz (6.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page