1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-27 15:36:49 +00:00
dotfiles/bin/clean
2022-08-01 19:41:15 -04:00

18 lines
473 B
Bash
Executable file

#!/bin/sh
sudo eopkg up -y
sudo eopkg dc -y
sudo eopkg rmo -y
sudo eopkg rdb -y
sudo eopkg clean -y
fc-cache -f
rm -r ~/.cache
fish -c "j --purge"
docker system prune -f
docker image prune -a
sudo solbuild delete-cache
sudo rm -rf /var/lib/solbuild
sudo solbuild init -p unstable-x86_64
sudo journalctl --vacuum-size=1K
bleachbit -c $(bleachbit -l|rg -v 'system.free_disk_space|system.memory')
sudo bleachbit -c $(bleachbit -l|rg -v 'system.free_disk_space|system.memory')