Sometimes you wonder “why your disk is full?”. Use this command to find file larger than 300MB on the current directory.
find . -type f -size +300M
So, break down command:
.: find on curret folder.-type f: just find file (not folder).-size +300M: size larger than 300 Megabytes.
Pro tip for you:
if you want sorting from size larger, pipe to ls and sort:
find . -type f -size +300M -exec ls -lh {} + | awk '{ print $5, $9 }' | sort -h
currently you know ~ who eat storage you. see you again ^_^