How to list the biggest zip files in unix console

I recently ran out of space on one of the web servers and had the necessity to find big zip files that had been uploaded with SCORM content, in order to delete them.

Here is a hand way using the find command.

find public_html/ -name ‘*.zip’ -type f -printf “%s\t%p\n” | sort -n | tail -60

This will list the 60 biggest zip files in public_html and subfolders.