dd with a nice progress indicator

Example for Blockdevices:


You may need the following additional packages: sudo pv

DISKSIZE=`sudo blockdev --getsize64 /dev/vol0/target-disk` && sudo dd bs=4096 if=/dev/vol0/target-disk | pv -s $DISKSIZE | sudo gzip -9 > target-disk.img.gz

Example Result: