Created
November 2, 2021 06:46
-
-
Save yfe404/64475b0f0b8aca91bdc0221e954c4a55 to your computer and use it in GitHub Desktop.
Monitor the progress of dd using pv (progress vue) utility
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DISK_IMAGE=~/Downloads/my-image.img | |
DISK=/dev/sdK | |
pv $DISK_IMAGE | sudo dd bs=4M of=$DISK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment