2023-05-17 11:59:11 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
2023-05-17 13:22:30 +00:00
|
|
|
id
|
|
|
|
|
2023-05-17 11:59:11 +00:00
|
|
|
df -h
|
|
|
|
|
|
|
|
sudo systemd-run --wait rm -rf \
|
|
|
|
/usr/share/az* \
|
|
|
|
/usr/share/dotnet \
|
|
|
|
/usr/share/gradle* \
|
|
|
|
/usr/share/miniconda \
|
|
|
|
/usr/share/swift \
|
|
|
|
/var/lib/gems \
|
|
|
|
/var/lib/mysql \
|
|
|
|
/var/lib/snapd
|
|
|
|
|
|
|
|
sudo fstrim /
|
|
|
|
|
|
|
|
df -h
|