Mauriat Miranda     mjmwired

Copy with a Progress Bar

This is something I’ve always thought about looking up myself. Great tip for using pv command for seeing copy progress.

Example:

$ cat source/file.img | pv -s 100g -p -e -r > destination/file.img
[ 25MB/s] [==========> ] 13% ETA 0:54:35

Only problem: what package in CentOS includes pv?

Posted in: Miscellaneous, Tips,

2 Comments:

  • cnolan on October 18, 2008 - 04:16 PM

    The package “pv” provides “pv” in CentOS 5.x

    It is available in the rpmforge repos.

  • Mauriat on October 19, 2008 - 05:17 PM

    cnolan:

    Thanks! It turns out it was in the ‘rpmforge’ repository. It does not ship with default CentOS.