mirror of https://github.com/captn3m0/Scripts.git
extra powerful cleanup
This commit is contained in:
parent
aeb61d93dd
commit
6aa0e4eb6a
10
housekeeping
10
housekeeping
|
@ -9,7 +9,15 @@ PERSONAL_ROOT="/home/nemo/projects/personal"
|
|||
find $PERSONAL_ROOT -maxdepth 2 -type d -iname .git | xargs -I{} bash -c "cd {}/.. && karn update"
|
||||
|
||||
# Cleanup yay-cache
|
||||
find /home/nemo/.cache/yay -iregex '.*\.\(bz2\|tar\|zip\|deb\|xz\|gz\)$' -delete
|
||||
find /home/nemo/.cache/yay -iregex '.*\.\(bz2\|tar\|zip\|deb\|xz\|part\|rpm\|gz\)$' -delete
|
||||
|
||||
cd /home/nemo/projects/personal/signal-desktop-beta-bin
|
||||
|
||||
rm *.deb *.tar
|
||||
|
||||
cd ../koreader-appimage
|
||||
|
||||
rm *.AppImage *.tar
|
||||
|
||||
# Remove orphan packages
|
||||
sudo pacman -Rns $(pacman -Qtdq)
|
||||
|
|
Loading…
Reference in New Issue