We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8384a60 commit 9dd301dCopy full SHA for 9dd301d
1 file changed
tools/wipe-linux.sh
@@ -1,6 +1,20 @@
1
#!/bin/sh
2
set -e
3
4
+echo "THIS SCRIPT IS DANGEROUS!"
5
+echo "DO NOT BLINDLY RUN IT IF SOMEONE JUST SENT YOU HERE."
6
+echo "IT WILL INDISCRIMINATELY WIPE A BUNCH OF PARTITIONS"
7
+echo "THAT MAY OR MAY NOT BE THE ONES YOU WANT TO WIPE."
8
+echo
9
+echo "You are much better off reading and understanding this guide:"
10
+echo "https://github.com/AsahiLinux/docs/wiki/Partitioning-cheatsheet"
11
12
+echo "Press enter twice if you really want to continue."
13
+echo "Press Control-C to exit."
14
+
15
+read
16
17
18
diskutil list | grep Apple_APFS | grep '\b2\.5 GB' | sed 's/.* //g' | while read i; do
19
diskutil apfs deleteContainer "$i"
20
done
0 commit comments