Copy --logfile add

I use is simple copy ..... --logfile comando where the result is added every time
Can it be made so that it adds at the top of the file instead of last

--log-file=${HOME}/logfiles/backup5.log"

hi,

not sure exactly what you are asking,

you can delete the log before you run the rclone command

I would like to have the latest report displayed at the top of the .log file instead of at the bottom

2021/07/21 04:26:13 NOTICE:
Transferred: 1.647T / 1.647 TBytes, 100%, 65.833 MBytes/s, ETA 0s
Checks: 54430 / 54430, 100%
Transferred: 80194 / 80194, 100%
Elapsed time: 7h17m27.8s

2021/07/21 08:14:33 NOTICE:
Transferred: 33.818G / 33.818 GBytes, 100%, 70.571 MBytes/s, ETA 0s
Checks: 134597 / 134597, 100%
Transferred: 1477 / 1477, 100%
Elapsed time: 8m17.2s

2021/07/21 08:30:52 NOTICE:
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks: 136063 / 136063, 100%
Elapsed time: 51.1s

as far as i know, rclone adds new items to the bottom of the log.

perhaps the command line command tail can help

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