Originally Posted by
dragonfly41
If you build optional logging into your custom script that might be a start.
Optional logging, hmm
Here's the current script, any corrections/suggestions are greatly appreciated.
I run this script with sudo
Code:
# Delete "orphaned" packages
deborphan | xargs apt remove --purge -y
# Houseclean over 10 days
journalctl --vacuum-time=10d
# Delete old logs
find /var/log -type f -name "*.gz" -delete
# Remove packages that didn’t install completely
apt autoclean -y
# Clean your apt-cache
apt clean -y
# Clear thumbnails
rm -rfv ~/.cache/thumbnails
# Clear cache
du -sh /var/cache/apt
# Remove software dependencies that you no longer need
apt autoremove -y
# Kernel and other Cleanups after Deletions
apt autoremove --purge -y
Bookmarks