Created
October 4, 2020 11:56
-
-
Save pingud98/6f413d2c034cdb213b650d305e94def0 to your computer and use it in GitHub Desktop.
script to copy 5 cosmid pi sd cards using pinebook pro and multiple card readers
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
| #!/bin/bash | |
| sudo dd bs=4M if=cosmicpi17dist.img of=/dev/sda status=progress | |
| sudo dd bs=4M if=cosmicpi17dist.img of=/dev/sdb status=progress | |
| sudo dd bs=4M if=cosmicpi17dist.img of=/dev/sdc status=progress | |
| sudo dd bs=4M if=cosmicpi17dist.img of=/dev/sdd status=progress | |
| sudo dd bs=4M if=cosmicpi17dist.img of=/dev/sde status=progress | |
| sudo sync |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Turns out that running all the commands in parallel is slower; also couldn't find dcfldd readily available for arm64/arch.