mirror of
https://github.com/captn3m0/Scripts.git
synced 2024-09-27 22:22:53 +00:00
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"
|
find $PERSONAL_ROOT -maxdepth 2 -type d -iname .git | xargs -I{} bash -c "cd {}/.. && karn update"
|
||||||
|
|
||||||
# Cleanup yay-cache
|
# 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
|
# Remove orphan packages
|
||||||
sudo pacman -Rns $(pacman -Qtdq)
|
sudo pacman -Rns $(pacman -Qtdq)
|
||||||
|
Loading…
Reference in New Issue
Block a user