-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cleanup.shy
25 lines (25 loc) · 929 Bytes
/
Cleanup.shy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
#cleanup
sudo apt-get -y autoremove --yes
#sudo apt-get autoremove --purge --yes
sudo rm -rf /tmp/*
sudo apt-get -y clean
sudo rm -rf /home/*/.glide/*
sudo rm -rf /home/*/.nvm/*
#sudo rm -rf /home/*/
sudo ucaresystem-core
sudo rm -rf /var/cache/apt/archives/*
suod rm -rf /home/*/.cache/*
sudo rm -rv /home/*/.local/share/trash/*
sudo rm -rf /var/cache/apt-xapian-index/*
sudo rm -rf /home/*/.local/share/evolution/calendar/trash/*
sudo rm -rf /home/*/.local/share/evolution/mail/trash/*
sudo rm -rf /home/*/.local/share/evolution/tasks/trash/*
sudo rm -rf /home/*/.local/share/evolution/memos/trash/*
sudo rm -rf /home/*/.local/share/evolution/addressbook/trash/*
sudo rm -rf /var/crash/*
sudo rm -rf /var/mail/root
sudo rm -rf /home/*/.config/chromium
cpulimit -l 30 | sudo bleachbit --list | grep -E "[a-z]+\.[a-z]+" | xargs bleachbit --clean
sudo npm cache clean --force
#sudo bash /mnt/HDD/Programs//pipfix.sh