From e7aa6921106b5c45196a814a6acafc8ae37bb3a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20D=C3=BCll?= Date: Mon, 18 Jan 2016 23:07:52 +0100 Subject: [PATCH] Make pv more useful by passing parameters. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disabling the non-functional progress bar and adding average and written byte counters. Signed-off-by: Michael Düll --- btrbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk b/btrbk index 04f1923..45137e1 100755 --- a/btrbk +++ b/btrbk @@ -1279,7 +1279,7 @@ sub btrfs_send_receive($$$$) name => "btrfs send", }; push @cmd_pipe, { - cmd => [ '/usr/bin/pv' ], + cmd => [ '/usr/bin/pv', '-traeb' ], } if($show_progress); push @cmd_pipe, { cmd => [ qw(btrfs receive), @receive_options, $target_path . '/' ],