ungleich-tools/remove-all-partitions
2018-02-18 17:28:44 +01:00

10 lines
106 B
Bash
Executable file

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