Last active
October 30, 2017 20:51
-
-
Save physiii/f17f087ca49e3898fabd0430df0040bc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| echo ==== started $(date +%H:%M) ==== | |
| device="$1" | |
| image_file=$(date +%m-%d-%y)-gateway.img | |
| sudo dd bs=40M if=$device | pv | sudo dd bs=4M of=$image_file | |
| notify-send -u critical "Made Image" | |
| echo ==== finished $(date +%H:%M) ==== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment