How to log modified files but not "There was nothing to transfer"?

What is the problem you are having with rclone?

Note: This is a complement to How to log modified files but not the final summary?

I use rclone as a Windows Scheduled Task AutoHotKey's SetTimer (much easier than Scheduled Tasks for invisible tasks) and would like to get as the output the changed files, but not the information about "nothing happened":

2022/10/17 13:45:36 INFO  : There was nothing to transfer

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

rclone v1.59.2
- os/version: Microsoft Windows 10 Enterprise 21H2 (64 bit)
- os/kernel: 10.0.19044.2006 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.18.6
- go/linking: static
- go/tags: cmount

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


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

rclone sync D:/Data/ srv-backup:/data/externalFilesToBackup/LTP/Data --log-file=log.txt --stats=0

might try --log-level=INFO or --log-level=DEBUG

This won't work because both the changed files and "nothing to transfer" are both INFO

fwiw, i have a script that runs rclone.
after each run, the script parses the log file, look for errors/issues.
that script also filters out unwanted log entries to create a summary text file.

another option, might try --error-on-no-transfer
so if there is nothing to transfer, rclone will exit with code 9.

I will have that as part of my monitoring system (rclone brings in files that are actually backed up by borg)

This is an excellent idea, thanks!

might try
--no-console Hide console window

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