Newbie quesiton: How to get just a summary log of a rclone operation

I’m running rclone from within a cron script - so I basically see the summary of what happened in an email.

I am struggling to find a good logging option that just gives me some summary information about what happened - I am not interested in having a line per change made, or output every n minutes etc, but a summary similar to that you get from (say)

rsync -ra --stats /src/ /dest/

Currently I seem to be stuck between no logging option (which is returning nothing for me), or --verbose which is more verbose than I would like…

Using version 1.37 within a FreeNAS 11 jail.

Thanks

If you’re just looking for something like this:

2017/09/22 10:50:40 INFO :
Transferred: 0 Bytes (0 Bytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 300ms

Then I believe you would need to use the OS to remove what you don’t want. This would work:

rclone -v --stats 10000m --dry-run copy /data/log/ robgs:/ 2>&1 | grep -v “^20”

Just adding --stats-log-level NOTICE will be enough to add just the stats summary at the end without using -v

1 Like

Using --stats-log-level NOTICE was most of it, but I also added --stats 30m so I did not get lots of intermediate info (my rclone sessions typically take a few minutes).