I'm finding way to run some command when rclone makes some specific error.
I'm moving lot of files from "My Drive" to "Shared Drive" in Google Drive. There is a limit for number of files in one Shared drive so I should make new one when number of file reached to limit in Shared drive.
When it reached to limit, rclone shows the log about it but I don't know it since I'm not watching log realtime.
So I want to run a shell script that send a telegram message to me that alert it when error appeared but don't know how to do it.
Is there a way to run some script when specific error happened in rclone?
- os/type: linux
- os/arch: amd64
- go/version: go1.16.2
- go/linking: static
- go/tags: cmount
I'm using Ubuntu(Linux)
rclone move source: remote: --drive-server-side-across-configs=true --drive-skip-shortcuts --delete-empty-src-dirs=true -P -v --retries 15 --transfers 20