]> git.zerfleddert.de Git - m1-debian/blame - doc/marcan_sep_cleanup_script.txt
disabling metadata_csum for now
[m1-debian] / doc / marcan_sep_cleanup_script.txt
CommitLineData
ed9ee917
TG
1#!/bin/sh
2
3# Fetch from https://marcan.st/paste/4wuJXyRX.txt
4# Written by marcan 2022-02-22
5
6cat > /tmp/uuids.txt <<EOF
73D3287DE-280D-4619-AAAB-D97469CA9C71
8C8858560-55AC-400F-BBB9-C9220A8DAC0D
9EOF
10
11diskutil apfs listVolumeGroups >> /tmp/uuids.txt
12
13cd /System/Volumes/iSCPreboot
14
15for i in ????????-????-????-????-????????????; do
16 if grep -q "$i" /tmp/uuids.txt; then
17 echo "KEEP $i"
18 else
19 echo "RM $i"
20 rm -rf "$i"
21 fi
22done
Impressum, Datenschutz