Better understanding of RC

What is the problem you are having with rclone?

Trying to understand how to make API calls via rclone rc and and then curl
All the other documentation I have used to build all my rclone scripts have been so helpful. But for some reason I just cannot read the rc docs and make the mental leap on how to use it.

I have started small by just doing a simple ls command
rclone rc core/command command=ls -a gfevents:gfevents/Events/01/888/065/Preview/
This works. But, for example where/how do I add the filtering?

And then obviously I was able to run the example from the docs:
curl -X POST 'http://localhost:5572/rc/noop?potato=1&sausage=2'
But how do I run a ls command?

At the end of the day I am trying to run this command as a curl API call
rclone ls gfevents:gfevents-lowres/Events/01/888/065/Preview/ --include '*_065_1000.jpg'
And then build from there creating rclone copy jobs, monitoring their status, etc.


  • rclone v1.55.1
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.16.3
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using?

both local and primarily S3

You can find some good examples in the forum, but they are sometimes hard to find.

I guess this one will get you in the right direction:

Your approach is absolutely right, start simple and slowly add complexity as your get a grip on it.

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