1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-22 23:02:46 +00:00
dotfiles/bin/clean

18 lines
492 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|transmission|system.memory|cookies'`
sudo bleachbit -c `bleachbit -l|rg -v 'system.free_disk_space|system.memory'`