Quickzi: Find files over a certain size on Linux

Here’s a quick tip for finding files over 100M on Linux.

# find /home/adam/ -size +100M -exec ls -lh {} \; | awk '{print $5 , $8}'

Note that if you change 100M in the command you can find files with any size.   Also, replace /home/adam with any directory you wish.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>