B2_Command_Line_Tool icon indicating copy to clipboard operation
B2_Command_Line_Tool copied to clipboard

how to quiet down sync

Open meonkeys opened this issue 1 year ago • 3 comments

The sync command logs stuff to stdout even if --noProgress is used. I'm seeing:

upload blah
upload foo
upload bar

Is there a command line flag to quiet that down? I'm concerned I might miss something by redirecting stdout to /dev/null. I'm looking for something like rsync's --quiet flag to suppress non-error messages, but that doesn't seem to be an option for b2 sync. It would be great if I could also safely suppress any recoverable errors, like when a connection is lost and the client auto-retries. By "safely" I mean I would still like to know if/when there is a fatal non-recoverable condition.

If someone does recommend b2 sync --noProgress src dest > /dev/null, I'll go with that.

meonkeys avatar Jul 29 '22 00:07 meonkeys