From 6698ecaed356e48fc16167437e00461d028d7994 Mon Sep 17 00:00:00 2001 From: selfint <40059156+selfint@users.noreply.github.com> Date: Fri, 30 Dec 2022 01:06:09 +0200 Subject: [PATCH] Update pv.md (#9658) * fix 'stop at' option by including --size parameter * replace -s and -S with their spelled out variants --- pages/common/pv.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/pv.md b/pages/common/pv.md index 642508bdc..e68155f2d 100644 --- a/pages/common/pv.md +++ b/pages/common/pv.md @@ -7,9 +7,9 @@ `pv {{path/to/file}}` -- Measure the speed and amount of data flow between pipes (`-s` is optional): +- Measure the speed and amount of data flow between pipes (`--size` is optional): -`command1 | pv -s {{expected_amount_of_data_for_eta}} | command2` +`command1 | pv --size {{expected_amount_of_data_for_eta}} | command2` - Filter a file, see both progress and amount of output data: @@ -25,4 +25,4 @@ - Stop reading after reading specified amount of data, rate limit to 1K/s: -`pv -L 1K -S {{maximum_file_size_to_be_read}}` +`pv -L 1K --stop-at --size {{maximum_file_size_to_be_read}}`