1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-05 10:03:17 +00:00

Restore ability for any command to show stats by adding --stats flag

Make default for `mount` command not to show stats - this can be
re-enabled by adding a `--stats` parameter.
This commit is contained in:
Nick Craig-Wood
2016-12-15 17:40:17 +00:00
parent dd60f088ed
commit 43c530922a
3 changed files with 24 additions and 4 deletions

View File

@@ -390,12 +390,18 @@ modification times in the same way as rclone.
### --stats=TIME ###
Rclone will print stats at regular intervals to show its progress.
Commands which transfer data (`sync`, `copy`, `copyto`, `move`,
`moveto`) will print data transfer stats at regular intervals to show
their progress.
This sets the interval.
The default is `1m`. Use 0 to disable.
If you set the stats interval then all command can show stats. This
can be useful when running other commands, `check` or `mount` for
example.
### --stats-unit=bits|bytes ###
By default data transfer rates will be printed in bytes/second.