ungleich-tools/remove-all-partitions
2018-02-18 17:10:37 +01:00

10 lines
106 B
Bash

#!/bin/sh
if [ $# -ne 1 ]; then
echo $0 disk-to-be-deleted
exit 1
fi
disk=$1
sgdisk -Z "$disk"