From 024c55482baa0e1e387eae0a38bea8a11ab5fb42 Mon Sep 17 00:00:00 2001 From: Martin Blazik Date: Sat, 1 Oct 2022 09:26:42 +0200 Subject: [PATCH] Add sudo for sd-copy --- bin/sd-copy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sd-copy b/bin/sd-copy index 3038c78..88dfcee 100755 --- a/bin/sd-copy +++ b/bin/sd-copy @@ -15,4 +15,4 @@ DST="$1" shift echo "dd if=$SRC of=$DST bs=32MiB status=progress conv=fsync $*" -dd if="$SRC" of="$DST" bs=32MiB status=progress conv=fsync "$@" +sudo dd if="$SRC" of="$DST" bs=32MiB status=progress conv=fsync "$@"