What is the flag to only allow rclone to start transfer files when there are minimum of 3 files to be moved?

What is the problem you are having with rclone?

What is the flag to only allow rclone to start transfer files when there are minimum of 3 files to be moved

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

rclone v1.64.0
  • os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
  • os/kernel: 10.0.19045.3516 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.21.1
  • go/linking: static
  • go/tags: cmount

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

Google drive

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

c:\rclone\rclone.exe move --bind=192.168.1.2 --ignore-existing --verbose --transfers 4 --checkers 8 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s --max-depth 1 S:\ googledrive1:

and

c:\rclone\rclone.exe move --ignore-existing --verbose --transfers 4 --checkers 8 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s --max-depth 1 S:\ googledrive2:

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[googledrive1]
type = drive
scope = drive
token = XXX
team_drive = XXX
root_folder_id = XXX
client_id = XXX
client_secret = XXX

[googledrive2]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive = XXX
root_folder_id = XXX

A log from the command that you were trying to run with the -vv flag

sometimes the commands will only move 1 or 2 files, I would like at least 3 and maximum 4 to be on the move

What is the flag to only allow rclone to start transfer files when there are minimum of 3 files to be moved? sometimes the commands will only move 1 or 2 files, I would like at least 3 and maximum 4 to be on the move. Like minimum number of files filter

To my knowledge there is no such flag.

What would be its purpose? Can you explain what is the reasoning behind it?

I want to maximize my uploading bandwidth

You can achieve it easily by wrapping your rclone sync in a shell script with very simple logic:

  1. Does source folder has >= than 4 files?
  2. if yes run rclone sync
  3. if not wait e.g. 1s
  4. go to 1

You can implement it using whatever is the most convenient on your OS

the folders always have more than 4 files however some of them are always being moved, in accordance with this one How to move only files that are not already being moved by another rclone process? I have 2 separated lines of internet and want to move files from the same folder into 2 different clouds

Then apply in this script the same logic you use in your other post. It means that not any 4 files but only 4 files which are no already moved.

IMO you are trying something overcomplicated without any clear benefit but if it is your goal then you have to be creative:)

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