Omit date, time and log level when syncing

Is it possible to configure rclone '-v' messages to omit everything that comes before the filename?
I'm trying to get a 'clean output' that reports only the filename and the operation result.
Currently I am using:

rclone sync -v --dry-run --stats=0 --log-format='' biomaldrive:shared/conda_environments ~/tmp

Which almost does what I am looking for. But the output still contains the log level:

NOTICE: nug_base.yaml: Skipped copy as --dry-run is set

I'd like to have something like:

nug_base.yaml: Skipped copy as --dry-run is set

I think your best bet would be to use the JSON logging and you can format that how you choose.

Someone else may have a better suggestion though.

hi,

i post-process the log files, to create a shortened version with just the info i need.

There isn't anything which will do that yet.

However there has been demand for a csv style report of files transferred - would that be of interest? If so what would you like to see in it?

I'd be happy to have something like: <filename><delimiter><transfer result>

1 Like

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