I'm working on writing a script that will interact with the files that have been successfully copied or skipped using Rclone. To do this, I'm reading the log-file after rclone has run. Does anyone know what the output line looks like in each of those cases? Or can you point me to the file in github that I can read the template for the logs?
What is your rclone version (output from rclone version)
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Thank you for your response! The regex is very helpful.
I looked through my log file, and for skipped files I found:
2021/09/02 16:45:30 DEBUG : xxx.txt: Destination mod time is within 1ns of source and files identical, skipping
I'm just still wondering if there is a way to look at all the possible combinations that could be outputted to the log file. I want to make the script as robust as possible and I want to account for all the possible ways the log file could say that it skipped a file or that a file was successful.
actually, i had forgotten i was already doing that.
i have a python script that takes a rclone debug log, strips out stuff and emails to me a rclone.short.log ^.* DEBUG :.*Waiting for (checks|transfers|deletions) to finish$