Show Visual Progress For “dd” Copy Operations

On Ubuntu, install pv using Apt:

$ sudo apt-get install pv

Usage:

$ dd if=<FROM FILEPATH> | pv | dd of=<TO FILEPATH>

1,86MB 0:00:14 [ 174kB/s] [      <=>                               ]

You can also pass --size with an estimated-size to show a progress bar and estimated time of completion.

Advertisements