Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 690 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 690 Bytes

clearspace

Remove unneeded files to clear space from your Debian/Ubuntu/RedHat/CentOS servers or VMs

Purpose

I generate some custom VMs for testing and I like to keep the sizes as small as possible. Removing uneeded files manually is a pain so this script will automatically do it for you.

Inspiration

Danila Vershinin wrote a very interesting article and script on how to delete unneeded files from CentOS/RedHat:

https://www.getpagespeed.com/server-setup/clear-disk-space-centos

Danila has indicated that he is developing an application/script to do this on his GitHub:

https://github.com/dvershinin/diskspace

This is just my solution applying the above ideas.