mirror of https://github.com/CrimsonTome/tldr.git
Update pv.md (#9658)
* fix 'stop at' option by including --size parameter * replace -s and -S with their spelled out variantspull/3/head
parent
cd8ebad9ce
commit
6698ecaed3
|
@ -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}}`
|
||||
|
|
Loading…
Reference in New Issue