From 6aa0e4eb6a8a431c491806fb2f4c600f991454c4 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sat, 2 Jan 2021 15:03:25 +0530 Subject: [PATCH] extra powerful cleanup --- housekeeping | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/housekeeping b/housekeeping index e6d737f..80f43b2 100755 --- a/housekeeping +++ b/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)