colabrsync-0.2.0
توضیحات
Run rsync periodically in the background on Google Colab.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | colabrsync-0.2.0 |
| نام | colabrsync |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Susumu OTA |
| ایمیل نویسنده | 1632335+susumuota@users.noreply.github.com |
| آدرس صفحه اصلی | https://github.com/susumuota/colabrsync |
| آدرس اینترنتی | https://pypi.org/project/colabrsync/ |
| مجوز | MIT |
# colabrsync
Run rsync periodically in the background on Google Colab.
## Usage
```python
!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
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl colabrsync-0.2.0:
pip install colabrsync-0.2.0.whl
نصب پکیج tar.gz colabrsync-0.2.0:
pip install colabrsync-0.2.0.tar.gz