Cleanup unnecessary files

Hi,

I was wondering if there’s a way to cleanup unnecessary files from OSMC, something similar to “Disk Cleanup” on windows?

Thanks in advance

Well the question is what you consider as unnecessary files? All temporary files in /tmp/ will be automatically be removed when the device restarts. All other files are most likely intentionally installed by you and can only be removed by uninstalling the program or addon.

The only exception of this are the files in ./kodi/temp which will not be removed during restart and which besides important log files also can include that left over files from scraping that you might want to delete from time to time.
I guess for beginners the best way to navigate and remove files is using mc which you can install with sudo apt-get install mc

thanks a lot,