I am working on Lubuntu. Recently I noticed that my disk space is shrinking badly even though it was quite ok at the begin. I remove all tmp, unused apps, downloads and it still gave me almost nothing. Is there a tool (preferably graphical but not necessary) to get some kind of report of directory sizes (even better: recursively so I can run a test and then check subdirs to find the "guilty one")?
Or you can try this: https://apps.ubuntu.com/cat/applications/natty/baobab/ :)
It shows you all folders in system and they size.
Don't worry, there is a quick and safe solution, just follow this mini-guide.
Open a bash terminal (
t), copy-paste the following command inside it and press
du --human-readable --max-depth 5 --one-file-system ~ | grep ^[0-9\,\.]*[M\|G\|T].*$ | zenity --list --title="Huge files" --column=Files --text= --editable&
This is a simple script that shows a window with a list of all big files: click on an entry to select and copy the file path, find the file and then delete it. The script does NOT delete the files, do it manually after checking if you need to do a backup and remember to empty the trash.
NOTE: I've made the script 5 minutes ago and is very "spartan", please report any bug in the comments, thank you. ;-)
sudo apt-get install zenity if you get a "missing command" error.
I think this could help you.
In Terminal df -h