1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-30 18:43:17 +00:00
dotfiles/.local/bin/clean

18 lines
490 B
Plaintext
Raw Normal View History

2020-08-04 03:24:39 +00:00
#!/bin/bash
sudo eopkg up --y
fc-cache -f -v
sudo sync
fish -c "j -c"
sudo eopkg clean -y
sudo eopkg dc -y
sudo eopkg rmo -y
sudo eopkg rdb -y
sudo journalctl --vacuum-size=1K
bleachbit -c `bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory|firefox'`
sudo bleachbit -c `bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory|firefox'`
rm -r ~/.cache/*
rm -r ~/.local/share/nvim/swap/
rm `fd -H -L -i . $D -e log`
sudo solbuild delete-cache
sudo sync