Question / Suggestion -
I do a couple of sync-jobs between providers and accounts throughout the day and generally rely on this post-transfer set of stats which is logged after each run:
Transferred: 26.810G / 26.810 GBytes, 100%, 8.007 MBytes/s, ETA 0s Checks: 935334 / 935334, 100% Deleted: 3 Transferred: 215 / 215, 100% Elapsed time: 57m8.7s
After each such run I parse and add the last transfer's use together so I have an idea of what amount of upload I have used in a 24h period (for gdrive specifically but also for my monitoring system for upload / # files copied and deleted so I have an idea of the lay of the land).
The introduction of the
-max-duration commands are of course welcomed in this scenario, however I notice that a non-zero exit code (as you will run into when using these flags) ensures that the above transfer stats are not logged on exit.
- Is it possible / would it be possible to log these transfer stats on non-zero exits?
- Longer term,
-max-[upload|download]-per-period=<time>,<size>would be super - possibly maintain state in
rclone.confbut sounds like a nightmare to implement (pairs of providers, etc).