Created
February 17, 2020 15:32
-
-
Save austinsonger/11c18cb3356db8e35756db5eddd90fd5 to your computer and use it in GitHub Desktop.
Debian-Base Clean+Purge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt autoremove --purge -y | |
| sudo apt autoclean -y | |
| sudo rm -rf /home/$USER/.local/share/Trash/* | |
| sudo find /tmp/ -type f -mtime +1 -exec sudo rm {} \; | |
| sudo find /tmp/ -type f -atime +1 -exec sudo rm {} \; | |
| sudo apt remove -y | |
| sudo apt clean -y | |
| sudo apt clean all -y | |
| sudo rm /home/$USER/.bash_history | |
| sudo rm /home/$USER/.local/share/user-places.xbel.bak | |
| sudo rm -rf /tmp/* | |
| sudo rm -rf /var/tmp/* | |
| sudo rm -rf /var/crash | |
| sudo rm -rf /home/$USER/.cache/evolution/* | |
| sudo rm -rf /home/$USER/.cache/thumbnails/* | |
| sudo rm -rf /home/$USER/.cache/pip | |
| find /home/$USER/.cache/ -type f -mtime +1 -exec rm {} \; | |
| find /home/$USER/.cache/ -type f -atime +1 -exec rm {} \; | |
| sudo find /var/backups/ -type f -mtime +1 -exec sudo rm {} \; | |
| sudo find /var/backups/ -type f -atime +1 -exec sudo rm {} \; | |
| sudo find /var/log/ -type f -mtime +1 -exec sudo rm {} \; | |
| Sudo find /var/log/ -type f -atime +1 -exec sudo rm {} \; | |
| sudo find /var/cache/apt/archives/ -type f -mtime +1 -exec sudo rm {} \; | |
| sudo find /var/cache/apt/archives/ -type f -atime +1 -exec sudo rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment