Rclone core/stats checks

Ran a bunch of rclone rc commands after transfers for core/stats.

Does the "checks" field of core/stats refer to the number of checksums 'checked' from files found at source/destination?

If I wanted to calculate the number of files that rclone found at source, is there an API call that would give me that information?

It's the number of checks or source Vs destination so should correspond to the number of source files.

So in my tests:

When there was 4 files in source and none at destination:
a successful transfer returned 0 checks and 4 transfers.

When there was 4 files in source and the same 4 at destination:
a successful transfer returned 4 checks and 0 transfers.

When there was 1 additional file at source than at destination:
a successful transfer returned 4 checks and 1 transfers.

When there was 1 file was modified at source than at destination:
a successful transfer returned 4 checks and 1 transfers.

So I think it can be used as a proxy for number source files only when they are present at both source and destination. Any idea if there's a stat for # of source files in all scenarios?

I think a file either counts a check or a transfer so the sum should be what you want.

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