Using `--progress` change dates from 2023/10/05 to 2023-10-05

What is the problem you are having with rclone?

when using --progress, the datetime stamps change format.

without --progress -> rclone uses 2023/10/05

with --progress -> rclone uses two formats

  1. 2023/10/05
  2. 2023-10-05

this happens with latest v1.64.0 and v1.63.1, linux and windows

Run the command 'rclone version' and share the full output of the command.

rclone v1.64.0
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.90.4-microsoft-standard-WSL2 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.1
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

i have tried a few cloud providers and local

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy ./source/ ./dest -vv --progress

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

no config used

A log from the command that you were trying to run with the -vv flag

without --progress

rclone copy ./source ./dest -vv
2023/10/05 12:30:17 DEBUG : rclone: Version "v1.64.0" starting with parameters ["rclone" "copy" "./source" "./dest" "-vv"]
2023/10/05 12:30:17 DEBUG : Creating backend with remote "./source"
2023/10/05 12:30:17 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/10/05 12:30:17 DEBUG : fs cache: renaming cache item "./source" to be canonical "/root/rclone/test/source"
2023/10/05 12:30:17 DEBUG : Creating backend with remote "./dest"
2023/10/05 12:30:17 DEBUG : fs cache: renaming cache item "./dest" to be canonical "/root/rclone/test/dest"
2023/10/05 12:30:17 DEBUG : file.ext: Need to transfer - File not found at Destination
2023/10/05 12:30:17 DEBUG : Local file system at /root/rclone/test/dest: Waiting for checks to finish
2023/10/05 12:30:17 DEBUG : Local file system at /root/rclone/test/dest: Waiting for transfers to finish
2023/10/05 12:30:17 DEBUG : file.ext: md5 = b026324c6904b2a9cb4b88d6d61c81d1 OK
2023/10/05 12:30:17 DEBUG : file.ext.tojejoh2.partial: renamed to: file.ext
2023/10/05 12:30:17 INFO  : file.ext: Copied (new)
2023/10/05 12:30:17 INFO  :
Transferred:              2 B / 2 B, 100%, 0 B/s, ETA -
Transferred:            1 / 1, 100%
Elapsed time:         0.0s

2023/10/05 12:30:17 DEBUG : 6 go routines active

with --progress

with progress
rclone copy ./source ./dest -vv --progress
2023/10/05 12:29:43 DEBUG : rclone: Version "v1.64.0" starting with parameters ["rclone" "copy" "./source" "./dest" "-vv" "--progress"]
2023/10/05 12:29:43 DEBUG : Creating backend with remote "./source"
2023/10/05 12:29:43 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/10/05 12:29:43 DEBUG : fs cache: renaming cache item "./source" to be canonical "/root/rclone/test/source"
2023/10/05 12:29:43 DEBUG : Creating backend with remote "./dest"
2023/10/05 12:29:43 DEBUG : fs cache: renaming cache item "./dest" to be canonical "/root/rclone/test/dest"
2023-10-05 12:29:43 DEBUG : file.ext: Need to transfer - File not found at Destination
2023-10-05 12:29:43 DEBUG : Local file system at /root/rclone/test/dest: Waiting for checks to finish
2023-10-05 12:29:43 DEBUG : Local file system at /root/rclone/test/dest: Waiting for transfers to finish
2023-10-05 12:29:43 DEBUG : file.ext: md5 = b026324c6904b2a9cb4b88d6d61c81d1 OK
2023-10-05 12:29:43 DEBUG : file.ext.lodukuk6.partial: renamed to: file.ext
2023-10-05 12:29:43 INFO  : file.ext: Copied (new)
Transferred:              2 B / 2 B, 100%, 0 B/s, ETA -
Transferred:            1 / 1, 100%
Elapsed time:         0.0s
2023/10/05 12:29:43 INFO  :
Transferred:              2 B / 2 B, 100%, 0 B/s, ETA -
Transferred:            1 / 1, 100%
Elapsed time:         0.0s

2023/10/05 12:29:43 DEBUG : 6 go routines active

I'm amazed nobody noticed this before! It is easy to fix though - try this

v1.65.0-beta.7410.43f4f2ebf.fix-progress-log on branch fix-progress-log (uploaded in 15-30 mins)

me too, as the issue is also in v1.53.0

the beta fixed the issue, thanks.

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