dotfiles/home/default/scripts/system-free-space

9 lines
171 B
Plaintext
Raw Normal View History

2023-11-15 11:16:12 -05:00
#!/usr/bin/env sh
set -eoux pipefail
2024-05-23 11:30:18 -04:00
rm -rf ~/.cache
sudo rm -rf /var/cache/pacman/pkg/*
2023-11-15 11:16:12 -05:00
yay -Sc --noconfirm
2024-05-08 14:25:20 -04:00
sudo pacman -Sc --noconfirm
2023-11-15 11:16:12 -05:00
sudo journalctl --vacuum-size=1G