Tips: using PV instead of CP to copy large files



Pv (Pipe Viewer) is a command line utility that allows us to monitor the progress of data through a pipe.

It could be used to monitor some long operations performed by utility that not display a progress output (like DD).

Linux Console

With a simple trick, can be used also to display a progress bar and speed monitoring when copying a very large file, with this command:

pv /oldfolder/file > /newfolder/file

Some other usage of PV:

PV man page


Published: October 27 2014