++ new dangerous script :-)
This commit is contained in:
parent
0fe06a7f71
commit
5595038016
1 changed files with 5 additions and 0 deletions
5
remove-all-partitions-from-all-disks
Executable file
5
remove-all-partitions-from-all-disks
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for disk in $(fdisk -l | grep "^Disk /dev" | sed -e 's/Disk //' -e 's/:.*//'); do
|
||||||
|
sgdisk -Z "$disk"
|
||||||
|
done
|
Loading…
Reference in a new issue