Skip to main content

colabrsync

Run rsync periodically in the background on Google Colab.

Usage

!pip install colabrsync

from google.colab import drive
drive.mount('/content/drive')

!mkdir -p /content/outputs
!mkdir -p /content/drive/MyDrive/outputs

from colabrsync import RsyncMirror

rsm = RsyncMirror('/content/outputs/', '/content/drive/MyDrive/outputs/')

!diff -ur /content/outputs /content/drive/MyDrive/outputs

!touch /content/outputs/newfile.txt

!diff -ur /content/outputs /content/drive/MyDrive/outputs

!sleep 60

!diff -ur /content/outputs /content/drive/MyDrive/outputs

del rsm

!ls -l /content/outputs /content/drive/MyDrive/outputs

License

MIT License, See LICENSE file.

Author

Susumu OTA

Metadata

Release files for colabrsync 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for colabrsync 0.2.0
File Size Uploaded
colabrsync-0.2.0.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for colabrsync 0.2.0
File Interpreter ABI Platform
colabrsync-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / colabrsync-0.2.0.tar.gz

Download URL colabrsync-0.2.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
80c7902a3dc1887e95ab3e7038a8da2e1e8b826418081f0a6dfafc83f72c2d65
BLAKE2b-256 checksum
How to use checksums
4bef797fbe5e7af9ac4f3de0cdbf9fb48b6ae79defbaafb6b5d49e5f6eebc29c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

Release files / colabrsync-0.2.0-py3-none-any.whl

Download URL colabrsync-0.2.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
362ed0b19373e86bb080b5d3dea6a95d19379204ce06c75183c07f8e5b98574f
BLAKE2b-256 checksum
How to use checksums
c8caf720f7e5091a8341b311b3e4db85001da0bbbe694d05355cd74986d30e0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page