Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0Digg thisPin on Pinterest0Email this to someone

There is no single command that can be used to list all large files. But, with the help of find command and shell pipes, you can easily list all large files.

Linux List All Large Files

To finds all files over 50,000KB (50MB+) in size and display their names, along with size, use following syntax:

 

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

 

If you enjoyed this post, why not leave a comment or consider a Donation as a token of your appreciation. If you need help implementing something you saw on this site or any other project why not Hire Me?
How to: Linux Find Large Files on Disk
Tagged on:                                                         

Leave a Reply

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

Loading Facebook Comments ...