Print summary without filenames

What is the problem you are having with rclone?

I am trying to print a summary without revealing the list of files that changed

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

rclone v1.62.2-DEV
- os/version: freebsd 13.1-release-p3 (64 bit)
- os/kernel: 13.1-release-p3 (amd64)
- os/type: freebsd
- os/arch: amd64
- go/version: go1.20.3
- go/linking: dynamic
- go/tags: none

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

Doesn't matter

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

rclone sync --checksum -v dropbox: backup/dropbox

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

# Not relevant

A log from the command that you were trying to run with the -vv flag

$ rsyncnet rclone sync --checksum -v dropbox: backup/dropbox
2024/01/16 21:50:02 INFO  : Screenshot 2023-11-20 12.02.59 PM.png: Copied (new)
2024/01/16 21:50:17 INFO  : 
Transferred:       64.266 KiB / 64.266 KiB, 100%, 4.284 KiB/s, ETA 0s
Checks:              2820 / 2820, 100%
Transferred:            1 / 1, 100%
Elapsed time:        16.0s

Basically, for privacy reasons, I don't want rclone to output filenames to stdout, but I am happy about the final "summary" lines that says how many bytes and files transferred and if all went well or not.

Is there an option to get just the summary, without revealing the name of the files ?

welcome to the forum,

might try --stats-one-line and/or --quiet

But I just tried it and it prints nothing at all

$ rsyncnet rclone sync --checksum --stats-one-line --quiet dropbox: backup/dropbox

i posted about two flags, might try just one one them at a time.

Yes, I tried each one separately and they both return nothing.

sorry, maybe i misunderstood what you needed.

rclone copy source: dest: --stats-log-level=NOTICE
2024/01/16 19:06:40 NOTICE:
Transferred:             18 B / 18 B, 100%, 0 B/s, ETA -
Transferred:            6 / 6, 100%
Elapsed time:         0.0s

Yes this seems to be it, thanks!

ok, good.
if there is an ERROR, that would displayed and could leak the filename(s)
might work around that by using a rclone log file

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