diff options
author | Nicholas Van Doorn <vandoorn.nick@gmail.com> | 2021-08-04 18:12:54 -0700 |
---|---|---|
committer | Nicholas Van Doorn <vandoorn.nick@gmail.com> | 2021-08-17 10:47:48 -0700 |
commit | 6af4ba943f6b73e31a0b2bd0262d953a2e954ddb (patch) | |
tree | 0cf7b1d160d0671eeacb66004433b63572b96ebd /bin/write-image |
Initial commit
Diffstat (limited to 'bin/write-image')
-rwxr-xr-x | bin/write-image | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/write-image b/bin/write-image new file mode 100755 index 0000000..0091580 --- /dev/null +++ b/bin/write-image @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Make sure you have GNU dd as it supports much larger block sizes +sudo gdd if=$1 of=$2 bs=4M status=progress conv=fsync |