Rclone RC parameters

Trying to convert what I've been running as a local bat file to rc commands.
I am looking for the equivalent to setting:

  • --transfers=10
  • --checkers=20
  • --update
    Are these passed in as part of the sync/copy post or something else

Also looking for

  • --exclude and include

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

rclone v1.62.2

  • os/version: Microsoft Windows 11 Home 21H2 (64 bit)
  • os/kernel: 10.0.22000.1696 Build 22000.1696.1696 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.20.2
  • go/linking: static
  • go/tags: cmount

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

uploading to S3

The command you were trying to run (eg rclone copy /tmp remote:tmp)

We are making the calls from a C# application. Here's our json blob with the current parameters we are passing in.

Dictionary<string, string> jsonData = new Dictionary<string, string>
            {
                        { "srcFs", sourceDirPath},
                        { "dstFs", destinationDir},
                        { "createEmptySrcDirs", "true"},
                        { "_async","true" }
            };
            var response = await httpClient.PostAsync("sync/copy", new FormUrlEncodedContent(jsonData));
            response.EnsureSuccessStatusCode();
            var rcloneJob = await response.Content.ReadAsAsync<RcloneJob>();
            return rcloneJob.JobId;

You can set global config or you can set it just for that transfer.

Again you can set these per transfer or globally with options/set.

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