How to monitor stats from "rclone copy --rc ..."

Hi team,

How to get current stats (uploaded bytes/percent, upload speed) of current "rclone copy" programmatically?

I run a copy command: rclone copy my-file.zip remote:/dir --rc -P.
Then I run rclone rc vfs/stats or rclone rc vfs/stats fs=remote: on another terminal, it throws:

Failed to rc: failed to read rc response: 500 Internal Server Error: {
	"error": "no VFS found with name \"remote:\"",
	"input": {
		"fs": "remote:"
	},
	"path": "vfs/stats",
	"status": 500
}

And:

rclone rc vfs/list

{
	"vfses": []
}

How to monitor the current stats of "rclone copy"?

Thanks,

Use core/stats instead of vfs/stats that should work.

1 Like

Ah, thank @ncw. I'm wondering why I hadn't found before.

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