5 lines
120 B
Bash
Executable file
5 lines
120 B
Bash
Executable file
#!/bin/sh
|
|
|
|
for disk in $(fdisk -l | grep "^Disk /dev" | sed -e 's/Disk //' -e 's/:.*//'); do
|
|
sgdisk -Z "$disk"
|
|
done
|