LinuxCommandLibrary

pv

TLDR

Show transfer progress

$ pv [file] > [output]
copy
Pipe with progress
$ cat [file] | pv > [output]
copy
Limit transfer rate
$ pv -L [1m] [file] > [output]
copy
Show ETA
$ pv -e [file] > [output]
copy
Name the transfer
$ pv -N "Copying" [file] > [output]
copy

SYNOPSIS

pv [options] [files]

DESCRIPTION

pv monitors data through a pipe. Pipe viewer utility.
The tool shows transfer progress. Progress bar for pipes.
pv visualizes pipelines.

PARAMETERS

FILES

Input files.
-L RATE
Rate limit.
-N NAME
Transfer name.
-e
Show ETA.
-p
Show percentage.
-t
Show elapsed time.
-r
Show rate.
-s SIZE
Expected size.

CAVEATS

Adds small overhead. Insert between commands.

HISTORY

pv was created for monitoring data progress through pipelines.

SEE ALSO

dd(1), rsync(1), progress(1)

Copied to clipboard