What is corresponding REST API for `rclone check`?

What is the problem you are having with rclone?

rclone check can help me list the missing file before rclone copy.

I am hoping to leverage of REST API to do rclone check so that I can write more of my own logic in Python code.

However, I am not sure how to do it after reading Remote Control / API

Run the command 'rclone version' and share the full output of the command.

rclone v1.62.2
- os/version: darwin 13.3.1 (64 bit)
- os/kernel: 22.4.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.20.2
- go/linking: dynamic
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

S3

The command you were trying to run

I started a server at

rclone rcd --rc-web-gui --rc-addr=:5572 --rc-user=admin --rc-pass=passw0rd

I am trying to find the corresponding REST API for this command

rclone check --one-way --use-json-log --include="*.tdms" /tmp/motor hm-s3:hongbomiao-bucket/iot/motor

I was expecting something like

POST http://localhost:5572/operations/check

However, operations/check does not exist at Remote Control / API

Any guide would be appreciate, thanks! :smiley:

Yes it looks like we've forgotten to make that!

Can you open a new issue on Github about that please.

1 Like

Thanks @ncw ! Created a ticket at Add `operations/check` REST API in the doc · Issue #7015 · rclone/rclone · GitHub :smiley:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.