Can we have rsync kind of logs with rclone


I get below logs with rsync

Number of files: 1664 (reg: 1578, dir: 86)
Number of created files: 0
Number of regular files transferred: 0
Total file size: 37067150 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 48263
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 99
Total bytes received: 66128

sent 99 bytes received 66128 bytes 132454.00 bytes/sec
total size is 37067150 speedup is 559.70

Can we have similar logs in rclone.

Important things which i want rclone to output are below two things

total size is 37067150
speedup is 559.70


If you run with -v you will get a log of each file transferred and stats every 1 minute by default.

If you only want the stats then don’t use -v and add --stats-log-level NOTICE

If you only want the stats at the end then use --stats 99d to increase the stats print interval.

That will give you something like what rsync prints.


can i have --log-level INFO written to one file(/tmp/info.logs) and --stats-log-level NOTICE written to some other file (/tmp/stats.log) from same rclone sync command.
i want both logs but they have to be written to different files.

can this be achieved.


Not directly with rclone, you could do it with a grep pipeline I think…

The easiest thing would be to post-process the log file I think.