Timestamp option for --progress

I’m making a forum post to go along with my issue and pull request.

I have coded the options --stats-one-line-date and --stats-one-line-date-format to extend the usefulness of --stats-one-line.

--stats-one-line-date prepends a default-formatted timestamp with the rsync-style output. This also enables --stats-one-line without requiring that option.

[/home]$ rclone copy --stats-one-line-date /home gdrive:/home
2019/03/26 05:03:27 -    53.002k / 55.780 kBytes, 95%, 6.861 kBytes/s, ETA 0s (xfr#3/8)

--stats-one-line-date-format - Prepends a user-supplied date string. This also enables --stats-one-line and stats-one-line-date without requiring those options. The date string must be enclosed in quotes and conform to the golang date specs.

[/home]$ rclone copy --stats-one-line-date-format "Mon Jan 2 15:04:05 MST 2006" /home gdrive:/home
Tue Mar 26 05:06:00 EDT 2019    2.778k / 5.557 kBytes, 50%, 521 Bytes/s, ETA 5s

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