trauer
February 4, 2021, 1:27am
1
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.
asdffdsa
(jojothehumanmonkey)
February 4, 2021, 2:39pm
3
hi,
i post-process the log files, to create a shortened version with just the info i need.
ncw
(Nick Craig-Wood)
February 4, 2021, 5:07pm
4
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?
trauer
February 4, 2021, 11:15pm
5
I'd be happy to have something like: <filename><delimiter><transfer result>
1 Like
system
(system)
Closed
April 6, 2021, 7:15pm
6
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.