TomNomNom.com

Blogging since 2008 until 2010

Find big files on a linux box

What's that, young man? Oh, you're a woman? I am sorry... Anyway; what was it you wanted? You're running out of disk space and you want to find all the big files on your linux machine so you can blindly delete them? Try this:

find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

You're welcome.

First posted: Wed, 07 Jul 2010 08:21:52 +0000